防沉迷:定时任务
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user