🐞 fix(录像): 修复录像存储以及读取路径
This commit is contained in:
@@ -361,7 +361,7 @@ export class LadderHandler {
|
||||
return resResult(STATUS.SUCCESS, {
|
||||
list: list.map(rec => {
|
||||
const { roleId1, battleCode, hasRpl, remoteUrl } = rec;
|
||||
const rplFileUrl = battleCode && hasRpl ? getRemoteRplFilePath(remoteUrl, roleId1, WAR_TYPE.LADDER, battleCode) : '';
|
||||
const rplFileUrl = battleCode && hasRpl ? remoteUrl : '';
|
||||
return { ...rec, rplFileUrl };
|
||||
}),
|
||||
rplPrefixUrl: getRemoteRplPrefix(pinus.app.get('env'))
|
||||
|
||||
Reference in New Issue
Block a user