后台:军团管理
This commit is contained in:
@@ -120,8 +120,14 @@ export default class UserController extends Controller {
|
||||
|
||||
public async getItemList() {
|
||||
const { ctx } = this;
|
||||
const { field, value } = ctx.request.body;
|
||||
ctx.body = await ctx.service.users.getItemList(field, value);
|
||||
const { page, pageSize, sortField, sortOrder, form } = ctx.request.body;
|
||||
ctx.body = await ctx.service.users.getItemList(page, pageSize, sortField, sortOrder, form);
|
||||
}
|
||||
|
||||
public async getGuildList() {
|
||||
const { ctx } = this;
|
||||
const { page, pageSize, sortField, sortOrder, form } = ctx.request.body;
|
||||
ctx.body = await ctx.service.users.getGuildList(page, pageSize, sortField, sortOrder, form);
|
||||
}
|
||||
|
||||
public async deleteEquip() {
|
||||
|
||||
Reference in New Issue
Block a user