已知拼接过程函数是
paramsStrSort = function(n) {
var t = "asdfjaklsdfjjkhadsjkh178926389klasjdf",
e = "67zhifubaoasdfagu1oz1hi1qia1gsdfjkadlloveehj89234hhjklwwu1lin1aasdfjkljasdfsdf",
a = n + "&appKey=" + t,
i = a.split("&").sort().join("&");
return i += "&key=" + e
};
var getSign = function(n) {
if ("string" == typeof n) return paramsStrSort(n);
if ("object" == typeof n) {
var t = [];
for (var e in n) "title" != e && "text" != e && "articleComment" != e && (isEmpty(n[e]) || isEmojiCharacter(n[e]) || "object" != typeof n[e] && t.push(e + "=" + n[e]));
return paramsStrSort(t.join("&"))
}
},
paramsStrSort = function(n) {
var t = "asdfjaklsdfjjkhadsjkh178926389klasjdf",
e = "67zhifubaoasdfagu1oz1hi1qia1gsdfjkadlloveehj89234hhjklwwu1lin1aasdfjkljasdfsdf",
a = n + "&appKey=" + t,
i = a.split("&")
.sort()
.join("&");
return i += "&key=" + e, (0, _md.md5)(i)
};
var getSign = function(n) {
if ("string" == typeof n) return paramsStrSort(n);
if ("object" == typeof n) {
var t = [];
for (var e in n) "title" != e && "text" != e && "articleComment" != e && (isEmpty(n[e]) || isEmojiCharacter(n[e]) || "object" != typeof n[e] && t.push(e + "=" + n[e]));
return paramsStrSort(t.join("&"))
}
},
paramsStrSort = function(n) {
var t = "asdfjaklsdfjjkhadsjkh178926389klasjdf",
e = "67zhifubaoasdfagu1oz1hi1qia1gsdfjkadlloveehj89234hhjklwwu1lin1aasdfjkljasdfsdf",
a = n + "&appKey=" + t,
i = a.split("&")
.sort()
.join("&");
return i += "&key=" + e, (0, _md.md5)(i)
};
exports.paramsStrSort = paramsStrSort;
var handerParams = function(n) {
if ("string" == typeof n) {
var t = "";
n.split("&")
.forEach((function(n, e) {
isEmpty(n) || isEmojiCharacter(n) || ("" === t ? t = n : t += "&" + n)
})), t = t + "×tamp=" + (new Date)
.getTime();
var e = getSign(t),
a = t + "&sign=" + e;
return a
}
if ("object" == typeof n) {
n.timestamp = (new Date)
.getTime();
e = getSign(n);
return n.sign = e, n
}
};