Commit acb81fd5 by 王昆

gsb

parent bf09eb65
...@@ -396,6 +396,7 @@ class EcontractApi { ...@@ -396,6 +396,7 @@ class EcontractApi {
// 验证合法性 // 验证合法性
let appId = obj.appId; let appId = obj.appId;
let nonceStr = obj.nonceStr; let nonceStr = obj.nonceStr;
let ecid = obj.ecid;
let idNo = obj.idNo; let idNo = obj.idNo;
let busi = await this.ecompanybusiSve.findOne({ let busi = await this.ecompanybusiSve.findOne({
...@@ -410,6 +411,7 @@ class EcontractApi { ...@@ -410,6 +411,7 @@ class EcontractApi {
let signArr = []; let signArr = [];
signArr.push("appId=" + appId); signArr.push("appId=" + appId);
signArr.push("ecid=" + ecid);
signArr.push("idNo=" + idNo); signArr.push("idNo=" + idNo);
signArr.push("nonceStr=" + nonceStr); signArr.push("nonceStr=" + nonceStr);
signArr.push("key=" + busi.key); signArr.push("key=" + busi.key);
...@@ -424,7 +426,7 @@ class EcontractApi { ...@@ -424,7 +426,7 @@ class EcontractApi {
}; };
} }
let params = { let params = {
etemplate_id: busi.etemplate_id, etemplate_id: ecid,
idNo: idNo.toUpperCase(), idNo: idNo.toUpperCase(),
}; };
......
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