Commit c16389ec authored by Hsinli's avatar Hsinli

add

parent d138f92c
Pipeline #14327 passed with stage
in 14 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')).getTime();
await app.redis.set(timesKey, times, 'PX', pexpire);//今日有效
......
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