diff --git a/apps/stat/RoleCombatSummary.js b/apps/stat/RoleCombatSummary.js index ca6c5057..da49fcc5 100644 --- a/apps/stat/RoleCombatSummary.js +++ b/apps/stat/RoleCombatSummary.js @@ -20,7 +20,7 @@ export async function RoleCombatSummary (e) { let player = Player.create(e) let resDetail, resRole try { - resRole = await mys.getRoleCombat() + resRole = await mys.getRoleCombat(true) let lvs = Data.getVal(resRole, 'data.0') // 检查是否查询到了幻想真境剧诗信息 if (!lvs || !lvs.has_data) { diff --git a/models/MysApi.js b/models/MysApi.js index 62e088a0..6b72b6a1 100644 --- a/models/MysApi.js +++ b/models/MysApi.js @@ -146,8 +146,8 @@ export default class MysApi { } // 获取幻想真境剧诗信息 - async getRoleCombat () { - return await this.getData('role_combat') + async getRoleCombat (need_detail = false) { + return await this.getData('role_combat', { need_detail: need_detail }) } async getDetail (id) {