后台:添加权限,添加排序
This commit is contained in:
@@ -4,8 +4,8 @@ export default class ActivityController extends Controller {
|
||||
|
||||
public async getActivityList() {
|
||||
const { ctx } = this;
|
||||
const { page, pageSize, type, groupId, current, activityId } = ctx.request.body;
|
||||
ctx.body = await ctx.service.activity.getActivityList(page, pageSize, type, groupId, current, activityId);
|
||||
const { page, pageSize, type, groupId, current, activityId, sortField, sortOrder } = ctx.request.body;
|
||||
ctx.body = await ctx.service.activity.getActivityList(page, pageSize, sortField, sortOrder, type, groupId, current, activityId);
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user