Commit 15db9a7f by 王昆

gsb

parent c724e93a
......@@ -187,13 +187,13 @@ class MerchantApplet extends AppletBase {
return this.returnFail("请填写短信验证码");
}
// let vcode = await this.redisClient.get(this.SMS_BANKMOBILE_KEY + obj.bank_mobile);
// if (!vcode) {
// return this.returnFail("短信验证码已过期,请重新发送");
// }
// if (vcode != noteCode) {
// return this.returnFail("短信验证码错误,请重新填写");
// }
let vcode = await this.redisClient.get(this.SMS_BANKMOBILE_KEY + obj.bank_mobile);
if (!vcode) {
return this.returnFail("短信验证码已过期,请重新发送");
}
if (vcode != noteCode) {
return this.returnFail("短信验证码错误,请重新填写");
}
let bminfo = {
idcard_front: obj.idcard_front,
idcard_back: obj.idcard_back,
......
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