✨ feat(后台): 后台玩家查询、排行榜统计
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user