完成角色列表数据获取

This commit is contained in:
BTMuli
2023-05-23 23:59:20 +08:00
parent b8f7b73f05
commit 52a6f87ab0
5 changed files with 311 additions and 2 deletions

View File

@@ -2,7 +2,7 @@
* @file web request TGRequest.ts
* @description 应用用到的请求函数
* @author BTMuli<bt-muli@outlook.com>
* @since Alpha v0.2.0
* @since Alpha v0.1.5
*/
import { getAbyss } from "./getAbyss";
@@ -11,7 +11,7 @@ import { getCookieTokenBySToken } from "./getCookieToken";
// import * from "./getEnkaData.ts";
import { getGameAccountsBySToken, getGameAccountsByCookie } from "./getGameAccounts";
import { getLTokenBySToken } from "./getLToken";
// import * from "./getRoleList.ts";
import { getGameRoleListByLToken } from "./getRoleList";
// import * from "./getTickets.ts";
import { getTokensByLoginTicket } from "./getTokens";
import { getUserInfoByCookie } from "./getUserInfo";
@@ -36,6 +36,7 @@ const TGRequest = {
},
byLToken: {
verify: verifyLToken,
getRoleList: getGameRoleListByLToken,
},
bySToken: {
getAccounts: getGameAccountsBySToken,