后台:添加服务器列表

This commit is contained in:
luying
2021-06-15 11:46:49 +08:00
parent 0be64c0244
commit 1d6a391874
6 changed files with 55 additions and 2 deletions
+6
View File
@@ -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();