diff --git a/src/pages/User/Characters.vue b/src/pages/User/Characters.vue
index 00e1c033..3eeda199 100644
--- a/src/pages/User/Characters.vue
+++ b/src/pages/User/Characters.vue
@@ -1,49 +1,88 @@
- 角色数据获取、展示、详情
-
- 获取角色列表
-
+
+
{{ roleList }}
diff --git a/src/web/request/getRoleList.ts b/src/web/request/getRoleList.ts
index 92cc5d02..a81c8f57 100644
--- a/src/web/request/getRoleList.ts
+++ b/src/web/request/getRoleList.ts
@@ -18,12 +18,12 @@ import TGUtils from "../utils/TGUtils";
* @param {TGApp.Sqlite.Account.Game} account 游戏账号
* @returns {Promise} 用户角色列表
*/
-export async function getGameRoleListByLToken (cookie: Record, account: TGApp.Sqlite.Account.Game): Promise {
+export async function getGameRoleListByLToken(cookie: TGApp.BBS.Constant.CookieGroup4, account: TGApp.Sqlite.Account.Game): Promise {
const url = TGApi.GameData.byCookie.getCharacter;
const uid = account.gameUid;
// eslint-disable-next-line camelcase
const data = { role_id: uid, server: TGUtils.Tools.getServerByUid(uid) };
- const header = TGUtils.User.getHeader(cookie, "POST", JSON.stringify(data), "common");
+ const header = TGUtils.User.getHeader(cookie as unknown as Record, "POST", JSON.stringify(data), "common");
return await http.fetch(url, {
method: "POST",
headers: header,