feat(兼容): 配表使用后台隐藏物品

This commit is contained in:
luying
2022-11-09 18:01:02 +08:00
parent 5d0873630a
commit 53d4af4e09
54 changed files with 768 additions and 102 deletions

View File

@@ -201,4 +201,18 @@ export default class GameController extends Controller {
ctx.body = await ctx.service.game.getPvpConfig(page, pageSize, sortField, sortOrder);
return
}
public async getHiddenData() {
const { ctx } = this;
const { page, pageSize, sortField, sortOrder, form } = ctx.request.body;
ctx.body = await ctx.service.game.getHiddenData(page, pageSize, sortField, sortOrder, form);
return
}
public async getExistHiddenData() {
const { ctx } = this;
const { type } = ctx.request.body;
ctx.body = await ctx.service.game.getExistHiddenData(type);
return
}
}