Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
2026-04-28 01:42:15 +08:00
co-authored by Copilot
parent a5d22d3b88
commit 5dfdc9da10
5 changed files with 26 additions and 24 deletions
+2 -2
View File
@@ -27,8 +27,8 @@ export default defineRequest((request) => {
const res = await request.post(`/skillTree/`, { code })
return res.data
},
async getOathInfo(suitId: string, skillId: string, rarity: string) {
const res = await request.get(`/info/oath/${suitId}/${skillId}`, { params: { rarity } })
async getOathInfo(suitId: string, skillId: string, rarity: string, lv: number) {
const res = await request.get(`/info/oath/${suitId}/${skillId}`, { params: { rarity, lv } })
return res.data
},
}