Commit a2d642ca authored by Z's avatar Z

Z: Hot: clean comment.

parent 0a9198ce
...@@ -19,29 +19,20 @@ const createSign = (inPostData, inAppSecret) => { ...@@ -19,29 +19,20 @@ const createSign = (inPostData, inAppSecret) => {
// URL 编码 // URL 编码
for (let key in args) { for (let key in args) {
// res += encodeURIComponent(key) + "%3d" + encodeURIComponent(args[key]).toLowerCase() + "%26";
res += encodeURIComponent(key) + "%3D" + encodeURIComponent(args[key]) + "%26"; res += encodeURIComponent(key) + "%3D" + encodeURIComponent(args[key]) + "%26";
} }
res = res.slice(0, -3); res = res.slice(0, -3);
zlog('--->URL转义:', res)
zlog('--->ts', ts)
zlog('--->appSecret', appSecret)
// URL 拼接 // URL 拼接
res += `&appUser=${appUser}&appCode=${appCode}&${ts}${appSecret}` res += `&appUser=${appUser}&appCode=${appCode}&${ts}${appSecret}`
zlog('--->追加内容:', res)
return res; return res;
}; };
// Basic Info // Basic Info
let basicInfo = { let basicInfo = {
appUser: "YBF001", appUser: "YBF001",
// ver: "v2.17", ver: "v2.17",
ver: "v1.0",
// appSecret: "JeC0mmE2ZjZmOfdmTGImYzU5Yjg1AYU2M3F="
appSecret: "t04yYm6gjsuHeehxOxojtmiwlYfXY8Zkdowf" appSecret: "t04yYm6gjsuHeehxOxojtmiwlYfXY8Zkdowf"
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment