import { Controller } from 'egg'; 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(); 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(); return } public async getDicGoods() { const { ctx } = this; ctx.body = await ctx.service.game.getDicGoods(); return } public async getDicRMB() { const { ctx } = this; ctx.body = await ctx.service.game.getDicRmb(); return } public async getDicActivityType() { const { ctx } = this; ctx.body = await ctx.service.game.getDicActivityType(); return } public async getDicTaskType() { const { ctx } = this; ctx.body = await ctx.service.game.getDicTaskType(); return } }