Commit 6da9b499 by zhaoxiqing

gsb

parent 84f6066c
...@@ -278,14 +278,14 @@ class YZContractApi { ...@@ -278,14 +278,14 @@ class YZContractApi {
} }
var signArr = []; var signArr = [];
signArr.push("appId=" + enttemplate.appId); signArr.push("appId=" + enttemplate.appid);
signArr.push("idNo=" + idNo); signArr.push("idNo=" + idNo);
signArr.push("merchantId=" + merchantId); signArr.push("merchantId=" + merchantId);
signArr.push("nonceStr=" + nonceStr); signArr.push("nonceStr=" + nonceStr);
signArr.push("startId=" + startId); signArr.push("startId=" + startId);
signArr.push("key=" + enttemplate.key); signArr.push("key=" + enttemplate.key);
var sign = md5(signArr.join("&")).toUpperCase(); var sign = md5(signArr.join("&")).toUpperCase();
console.log(sign); console.log(signArr.join("&"),sign);
if (sign != obj.sign) { if (sign != obj.sign) {
return { return {
code: 1001001, code: 1001001,
......
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