提交 15b16d88 编写于 作者: peijun.zhao's avatar peijun.zhao

pc端注册,目前无法生成新token

上级 e572610d
流水线 #28917 已失败 于阶段
in 0 second
......@@ -207,7 +207,12 @@ public class AccountController extends AccountBaseController {
accountService.createAccount(account,null);
//生成token并返回
String newToken = this.generateToken(account, deviceType);
String newToken = "";
if(deviceType.equals("1")){
this.generateToken(account, "4"); //pc端注册,目前无法生成新token
}else {
this.generateToken(account, deviceType);
}
LoginResult result = new LoginResult();
result.setToken(newToken);
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册