feat(后台): 后台玩家查询、排行榜统计

This commit is contained in:
luying
2022-10-28 20:39:21 +08:00
parent 2155681dc3
commit 831b0b5602
6 changed files with 53 additions and 4 deletions

View File

@@ -38,6 +38,12 @@ export default class UserController extends Controller {
ctx.body = await ctx.service.users.getrolelist(page, pageSize, sortField, sortOrder, form);
}
public async getpaystatic() {
const { ctx } = this;
const { page = 1, pageSize = 10, form } = ctx.request.body;
ctx.body = await ctx.service.users.getpaystatic(page, pageSize, form);
}
public async setWar() {
const { ctx } = this;
const { roleId, warId } = ctx.request.body;