装备栏、技能栏

This commit is contained in:
2025-03-15 11:13:34 +08:00
parent 5d5dc59526
commit 8be0aa2a5a
83 changed files with 353 additions and 60 deletions
+2 -2
View File
@@ -59,10 +59,10 @@ export function defineRequest<T>(fn: (ax: AxiosInstance) => T) {
// const token = configStore.token
// const uid = useAppStore().uid
const token = useInfoStore().token
const token = useInfoStore().alter_token
if (token) {
request.headers['Access-Token'] = token
request.headers['Alter-Token'] = token
}
return request
+10 -1
View File
@@ -28,6 +28,7 @@ export interface ICharacterInfo {
weapons: string[]
skills: ISkill[]
suits: ISuit[]
}
export interface IEquipment {
@@ -36,6 +37,9 @@ export interface IEquipment {
itemType: string
itemDetailType: string
name: string
categorize:string
suit: number[]
rarity:string
}
export interface ISkill {
@@ -46,4 +50,9 @@ export interface ISkill {
positon: number
}
export interface ISuit {}
export interface ISuit {
id: number
name: string
imageUrl: string
suitId: number
}