巅峰演武:赛季优化修改

This commit is contained in:
luying
2022-10-17 14:42:40 +08:00
parent ddff18eb20
commit 08ca06d7ac
30 changed files with 590 additions and 272 deletions

View File

@@ -194,4 +194,11 @@ export default class GameController extends Controller {
ctx.body = await ctx.service.game.getServerName();
return
}
public async getPvpConfig() {
const { ctx } = this;
const { page, pageSize, sortField, sortOrder } = ctx.request.body;
ctx.body = await ctx.service.game.getPvpConfig(page, pageSize, sortField, sortOrder);
return
}
}