Commit b7af1dba by 王昆

gsb

parent 2729e82f
......@@ -54,6 +54,10 @@ class DKcontractApi {
}
let busi = await this.etemplatebusiSve.busiByTemplate2(pobj.appId, param.ecid, 2);
if (!busi[0] ||!busi[0].app_id || !busi[0].key) {
return this.returnjson(1001003, "配置信息错误,请联系薪必果人员进行配置");
}
let num = await this.esettleSve.isValidAge(busi[0].busi_id);
if (num) {
let card = await this.idcardClient.cardInfo(param.idNo);
......@@ -77,9 +81,6 @@ class DKcontractApi {
if (!param.nonceStr) {
return this.returnjson(-1, "请提供随机码")
}
if (!busi[0] ||!busi[0].app_id || !busi[0].key || busi[0].app_id != param.appId) {
return this.returnjson(1001003, "配置信息错误,请联系薪必果人员进行配置");
}
// 签名
var signArr = [];
var keys = Object.keys(param).sort();
......
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