Commit a3526d7c authored by Hsinli's avatar Hsinli

turn on code

parent 0d80ae30
Pipeline #13821 passed with stage
in 35 seconds
......@@ -177,10 +177,10 @@ class ApplyService extends Service {
content: '【51公积金】您本次操作的短信验证码为' + code + ',5分钟内有效。谨慎保管,切勿告诉他人。'
}
ctx.logger.info(smsParams);
// let smsResult = await ctx.service.common.sms.sendSms(smsParams);
// if (smsResult.status != 201) {
// ctx.failed('短信发送失败,稍后再试');
// }
let smsResult = await ctx.service.common.sms.sendSms(smsParams);
if (smsResult.status != 201) {
ctx.failed('短信发送失败,稍后再试');
}
return ret;
}
......
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