This commit is contained in:
2026-05-28 02:20:24 +08:00
parent 031c8c1cc7
commit 248aa0854a
8 changed files with 224 additions and 1 deletions
+6 -1
View File
@@ -1,5 +1,5 @@
import { defineRequest } from '../common'
import type { IAdventureInfo, ICharacterInfo, ISkillInfo } from './type'
import type { IAdventureInfo, ICharacterInfo, IHelperInfo, ISkillInfo } from './type'
export default defineRequest((request) => {
return {
@@ -31,5 +31,10 @@ export default defineRequest((request) => {
const res = await request.get(`/info/oath/${suitId}/${skillId}`, { params: { rarity, lv } })
return res.data
},
async getHelperList(id: string) {
const res = await request.get<IHelperInfo>(`/dnfhelper/${id}/list`)
await new Promise((resolve) => setTimeout(resolve, 30000))
return res.data
},
}
})
+13
View File
@@ -215,3 +215,16 @@ export interface Attribute {
optionValue: Record<`value${string}`, string>
detail: string
}
export interface IHelperInfo {
id: string
avatar: string
name: string
roleList: {
roleId: string
roleName: string
roleJob: string
avatarLink: string
fame: number
}[]
}