Commit 86eb3c98 authored by Hsinli's avatar Hsinli

addd

parent 5e06c625
Pipeline #13518 passed with stage
in 4 seconds
......@@ -77,13 +77,12 @@ class ApplyService extends Service {
phone: inputParams.phone,
content: '【51公积金】您本次操作的短信验证码为' + code + ',谨慎保管,切勿告诉他人。'
}
// let smsResult = await ctx.service.common.sms.sendSms(smsParams);
// let ret = {
// code: smsResult.status === 201 ? 1 : 0,
// msg: smsResult.status === 201 ? '短信发送成功' : '短信发送失败'
// }
// return ret;
return 1;
let smsResult = await ctx.service.common.sms.sendSms(smsParams);
let ret = {
code: smsResult.status === 201 ? 1 : 0,
msg: smsResult.status === 201 ? '短信发送成功' : '短信发送失败'
}
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