Commit 71f9ea60 authored by gongguan's avatar gongguan

增加开始游戏、提交游戏结果、获取游戏信息、获取我的排行信息的导出

parent 3d2cffab
...@@ -17,6 +17,8 @@ import CustomTest1Controller from './controller/custom/test1.controller' ...@@ -17,6 +17,8 @@ import CustomTest1Controller from './controller/custom/test1.controller'
const CustomTest1ControllerInstance = new CustomTest1Controller() const CustomTest1ControllerInstance = new CustomTest1Controller()
import CustomTest2Controller from './controller/custom/test2.controller' import CustomTest2Controller from './controller/custom/test2.controller'
const CustomTest2ControllerInstance = new CustomTest2Controller() const CustomTest2ControllerInstance = new CustomTest2Controller()
import GameController from './controller/game.controller'
const { startGame, submitGame, getGameInfo, getMyRankPrize } = new GameController()
export default { export default {
getVipInfo: CommonUserControllerInstance.getVipInfo, getVipInfo: CommonUserControllerInstance.getVipInfo,
...@@ -39,5 +41,9 @@ export default { ...@@ -39,5 +41,9 @@ export default {
testAddStat: CustomTest1ControllerInstance.testAddStat, testAddStat: CustomTest1ControllerInstance.testAddStat,
testGetStats: CustomTest1ControllerInstance.testGetStats, testGetStats: CustomTest1ControllerInstance.testGetStats,
test2addStat: CustomTest2ControllerInstance.test2addStat, test2addStat: CustomTest2ControllerInstance.test2addStat,
test2getStats: CustomTest2ControllerInstance.test2getStats test2getStats: CustomTest2ControllerInstance.test2getStats,
startGame,
submitGame,
getGameInfo,
getMyRankPrize
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment