Commit 65ea3769 by 王昆

gsb

parent 1bf20751
...@@ -264,23 +264,23 @@ class YZContractApi { ...@@ -264,23 +264,23 @@ class YZContractApi {
var merchantId = obj.merchantId || ""; var merchantId = obj.merchantId || "";
var pageSize = 20; var pageSize = 20;
var busi = await this.ecompanybusiSve.findOne({ // var busi = await this.ecompanybusiSve.findOne({
appId: appId // appId: appId
}); // });
if (!busi) { // if (!busi) {
return { // return {
code: 1001003, // code: 1001003,
msg: "配置信息错误,请联系薪必果人员进行配置" // msg: "配置信息错误,请联系薪必果人员进行配置"
}; // };
} // }
var signArr = []; var signArr = [];
signArr.push("appId=" + appId); signArr.push("appId=" + this.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=" + busi.key); signArr.push("key=" + this.key);
var sign = md5(signArr.join("&")).toUpperCase(); var sign = md5(signArr.join("&")).toUpperCase();
console.log(signArr.join("&")) console.log(signArr.join("&"))
console.log(sign); console.log(sign);
...@@ -291,7 +291,6 @@ class YZContractApi { ...@@ -291,7 +291,6 @@ class YZContractApi {
}; };
} }
var params = { var params = {
ecompanyId: busi.ecompany_id,
startId: startId, startId: startId,
idNo: idNo, idNo: idNo,
pageSize: pageSize, pageSize: pageSize,
......
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