后台:添加服务器列表
This commit is contained in:
@@ -14,6 +14,12 @@ export default class GameController extends Controller {
|
||||
return
|
||||
}
|
||||
|
||||
public async getServerList() {
|
||||
const { ctx } = this;
|
||||
ctx.body = await ctx.service.game.getServerList();
|
||||
return
|
||||
}
|
||||
|
||||
public async getDicHero() {
|
||||
const { ctx } = this;
|
||||
ctx.body = await ctx.service.game.getDicHero();
|
||||
|
||||
Reference in New Issue
Block a user