后台:添加字典接口

This commit is contained in:
luying
2021-06-01 12:03:28 +08:00
parent bbdf484470
commit ec18b9734d
4 changed files with 21 additions and 2 deletions
+6
View File
@@ -19,4 +19,10 @@ export default class GameController extends Controller {
ctx.body = await ctx.service.game.getDicHero();
return
}
public async getDicRMB() {
const { ctx } = this;
ctx.body = await ctx.service.game.getDicRmb();
return
}
}