登录:修复token未更新

This commit is contained in:
luying
2021-03-12 11:33:21 +08:00
parent 49cba48d4f
commit 7a71603db6
3 changed files with 4 additions and 4 deletions

View File

@@ -15,7 +15,7 @@ export default class GameController extends Controller {
let loginServerList = new Array<ServerParamWithRole>();
let allServers = await GameModel.getServerList();
let roles = await RoleModel.findAllByUid(uid);
let roles = await RoleModel.findAllByUid(uid, true, true);
allServers.sort((a, b) => {
return b.id - a.id;