Commit 982c4865 by 王昆

gsb

parent d1ce6b6c
......@@ -514,6 +514,12 @@ class EcontractApi {
var userMobile = obj.userMobile || "";
var nonceStr = obj.nonceStr || "";
let exists = await this.bankthreelogSve.findOne({
userName: userName,
userIdNo: userIdNo,
userBankNo: userBankNo,
userMobile: userMobile,
});
var sign = obj.sign || "";
var btl = await this.bankthreelogSve.create({
appId: appId,
......@@ -560,6 +566,15 @@ class EcontractApi {
mobile: userMobile,
};
if (exists) {
btl.result = true;
btl.save();
return {
code: 0,
msg: "success"
};
}
var tt = await this.utilesignbaoSve.bankfour(bankParams, "econtractapi.bankthree") || {};
// {"code":-110,"message":"手机号格式错误","data":{}}
//1成功,-110提示验证信息有误,-120亲,提供的信息不正确,请验证后再试!
......
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