后台:账号管理
This commit is contained in:
@@ -210,9 +210,7 @@ export default class Game extends Service {
|
||||
const total = await NoticeModel.countByCondition( form )
|
||||
return ctx.service.utils.resResult(STATUS.SUCCESS, {
|
||||
list: list.map(cur => {
|
||||
let env = this.app.config.env;
|
||||
if(env == 'local') env = 'development';
|
||||
return { ...cur, showEndTime: cur.showEndTime.getTime(), showStartTime: cur.showStartTime.getTime(), env}
|
||||
return { ...cur, showEndTime: cur.showEndTime.getTime(), showStartTime: cur.showStartTime.getTime(), env: this.app.config.realEnv }
|
||||
}), total
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user