防沉迷:定时任务

This commit is contained in:
luying
2021-03-04 20:36:59 +08:00
parent 32bb6cb2e3
commit 8a122b6a4d
11 changed files with 141 additions and 32 deletions

View File

@@ -46,8 +46,8 @@ export default class AccountController extends Controller {
public async bind() {
const { ctx } = this;
const { tel, code, password } = ctx.request.body;
ctx.body = await ctx.service.auth.bind(tel, code, password);
const { tel, code } = ctx.request.body;
ctx.body = await ctx.service.auth.bind(tel, code);
}
public async authentication() {