红点:抽卡推送修改
This commit is contained in:
@@ -41,10 +41,10 @@ export default class Game extends Service {
|
||||
|
||||
public async getServerList() {
|
||||
const { ctx } = this;
|
||||
const { page, pageSize, sortField, sortOrder, id, serverId, name, groupName, groupId, serverType } = ctx.request.body;
|
||||
const { page, pageSize, sortField, sortOrder, form } = ctx.request.body;
|
||||
|
||||
const list = await ServerlistModel.findByCondition(page, pageSize, sortField, sortOrder, id, serverId, name, groupName, groupId, serverType);
|
||||
const total = await ServerlistModel.countByCondition( id, serverId, name, groupName, groupId, serverType)
|
||||
const list = await ServerlistModel.findByCondition(page, pageSize, sortField, sortOrder, form);
|
||||
const total = await ServerlistModel.countByCondition( form )
|
||||
return ctx.service.utils.resResult(STATUS.SUCCESS, {
|
||||
list, total
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user