🐞 fix(gvg): 修复外政接口时间戳位数

This commit is contained in:
luying
2023-02-13 15:11:21 +08:00
parent a0cfd9b64d
commit ab0b7aa9ae
2 changed files with 7 additions and 7 deletions

View File

@@ -383,7 +383,7 @@ export class GVGProduceHandler {
const { attackRoleId, battleCode, hasRpl } = rec;
const rplFileUrl = battleCode && hasRpl ? getRemoteRplFilePath(attackRoleId, WAR_TYPE.GVG_VESTIGE, battleCode) : '';
const obj = getVestigeRecStatus(rec);
if(obj.status == VESTIGE_STATUS.COMPLETE) result.push({ ...rec, endTime: Math.floor(obj.time/1000), rplFileUrl });
if(obj.status == VESTIGE_STATUS.COMPLETE) result.push({ ...rec, endTime: obj.time, rplFileUrl });
}
return resResult(STATUS.SUCCESS, {
list: result,