后台:添加举报页面

This commit is contained in:
luying
2021-09-14 19:08:27 +08:00
parent 6afd704bdf
commit ae64b5d277
6 changed files with 53 additions and 3 deletions

View File

@@ -116,6 +116,13 @@ export default class GameController extends Controller {
return
}
public async getAccuse() {
const { ctx } = this;
const { page, pageSize, sortField, sortOrder, form } = ctx.request.body;
ctx.body = await ctx.service.game.getAccuse(page, pageSize, sortField, sortOrder, form);
return
}
public async getDicHero() {
const { ctx } = this;
ctx.body = await ctx.service.game.getDicHero();