Commit 27555b8a authored by Hsinli's avatar Hsinli

open verrification code times

parent 350c53ec
Pipeline #14384 passed with stage
in 36 seconds
......@@ -159,7 +159,7 @@ class ApplyService extends Service {
}
times++;
if (times >= 11) {
// ctx.failed('今日获取验证码次数过多,请明日再试');
ctx.failed('今日获取验证码次数过多,请明日再试');
}
let pexpire = new Date(moment().add(1, 'days').format('YYYY-MM-DD 00:00:00')).getTime();
let validTime = Number(pexpire) - Number(moment().format('x'));
......
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