登录:fix 浏览器同设备号不继承游客时间
This commit is contained in:
@@ -10,8 +10,8 @@ export default class AccountController extends Controller {
|
||||
|
||||
public async getSms() {
|
||||
const { ctx } = this;
|
||||
const { tel } = ctx.request.body;
|
||||
ctx.body = await ctx.service.auth.getSms(tel);
|
||||
const { type, tel } = ctx.request.body;
|
||||
ctx.body = await ctx.service.auth.getSms(type, tel);
|
||||
}
|
||||
|
||||
public async smsLogin() {
|
||||
|
||||
Reference in New Issue
Block a user