后台:公告
This commit is contained in:
@@ -3,12 +3,6 @@ import { STATUS } from '@consts';
|
||||
|
||||
export default class GameController extends Controller {
|
||||
|
||||
public async getServerEnv() {
|
||||
const { ctx } = this;
|
||||
ctx.body = await ctx.service.game.getServerEnv();
|
||||
return
|
||||
}
|
||||
|
||||
public async getServerListByEnv() {
|
||||
const { ctx } = this;
|
||||
ctx.body = await ctx.service.game.getServerListByEnv();
|
||||
@@ -23,6 +17,13 @@ export default class GameController extends Controller {
|
||||
return
|
||||
}
|
||||
|
||||
public async getRegions() {
|
||||
const { ctx } = this;
|
||||
|
||||
ctx.body = await ctx.service.game.getRegions();
|
||||
return
|
||||
}
|
||||
|
||||
public async getMaintenanceList() {
|
||||
const { ctx } = this;
|
||||
const {page, pageSize, sortField, sortOrder, form} = ctx.request.body;
|
||||
|
||||
Reference in New Issue
Block a user