web.php 51 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780
  1. <?php
  2. use App\Http\Controllers\Admin\RePayConfigController;
  3. use Illuminate\Support\Facades\Route;
  4. /*
  5. |--------------------------------------------------------------------------
  6. | Web Routes
  7. |--------------------------------------------------------------------------
  8. |
  9. | Here is where you can register web routes for your application. These
  10. | routes are loaded by the RouteServiceProvider within a group which
  11. | contains the "web" middleware group. Now create something great!
  12. |
  13. */
  14. /**
  15. * 需要加入 rbac 控制的路由置于此处
  16. */
  17. Route::any('/sendtele', 'Api\ApiController@sendTele');
  18. Route::any('/repaycheck', 'Admin\TestController@repay');
  19. Route::any('/testip', 'Api\ApiController@LoginIPCheck');
  20. //Route::any('/callback', 'Api\BPayController@notify');
  21. Route::any('/createid', 'Admin\GameDataController@makeGameid');
  22. Route::any('/rf_gameinfo', 'Admin\LiveDataController@gameInfoReadFromDB');
  23. Route::any('/lunch', 'Game\GameTestController@gameLunch');
  24. Route::post('/bet', 'Game\OnlyGameController@platformBet');
  25. Route::post('/info', 'Game\OnlyGameController@platformInfo');
  26. Route::post('/win', 'Game\OnlyGameController@platformWin');
  27. Route::post('/cancel', 'Game\OnlyGameController@platformCancel');
  28. Route::any('/round_info', 'Game\OnlyGameController@roundInfo');
  29. Route::group([
  30. 'middleware' => ['cors'],
  31. ], function (\Illuminate\Routing\Router $route) {
  32. $route->any('/sso-login.api', 'Game\JiliSimController@loginSession');
  33. $route->any('/web-api/auth/session/v2/verifySession', 'Game\PgSimController@VerifySession');
  34. $route->any('/web-api/game-proxy/v2/GameUI/Get', 'Game\PgSimController@GameUI');
  35. $route->any('/web-api/game-proxy/Social/SocialInitConfig/Get', 'Game\PgSimController@SocialInitConfig');
  36. $route->any('/web-api/game-proxy/Tournament/InitLite', 'Game\PgSimController@InitLite');
  37. $route->any('/web-api/game-proxy/Tournament/TournamentExistance', 'Game\PgSimController@TournamentExistance');
  38. $route->any('/web-api/auth/session/v2/verifyOperatorPlayerSession', 'Game\PgSimController@verifyOperatorPlayerSession');
  39. $route->any('/web-api/game-proxy/v2/Resources/GetByReferenceIdsResourceTypeIds', 'Game\PgSimController@GetByReferenceIdsResourceTypeIds');
  40. $route->any('/web-api/game-proxy/v2/GameName/Get', 'Game\PgSimController@GameName');
  41. $route->any('/web-api/game-proxy/v2/BetHistory/Get', 'Game\PgSimController@BetHistory');
  42. $route->any('/web-api/game-proxy/v2/GameRule/Get', 'Game\PgSimController@GameRule');
  43. $route->any('/web-api/game-proxy/v2/BetSummary/Get', 'Game\PgSimController@BetSummary');
  44. $route->any('/web-api/game-proxy/v2/Resources/GetByResourcesTypeIds', 'Game\PgSimController@GetByResourcesTypeIds');
  45. $route->any('/web-api/game-proxy/v2/GameWallet/Get', 'Game\PgSimController@GameWallet');
  46. // $route->any('/game-api/dragon-hatch/v2/GameInfo/Get', 'Game\PgSimController@GameInfo');
  47. // $route->any('/game-api/{gameCode}/v2/GameInfo/Get', 'Game\PgSimController@GameInfo');
  48. // $route->any('/game-api/{gameCode}/v2/Spin', 'Game\PgSimController@Spin');
  49. // $route->any('/game-api/{gameCode}/v2/spin', 'Game\PgSimController@Spin');
  50. });
  51. Route::group([
  52. 'middleware' => ['install.check', 'session.check', 'rbac', 'test', 'check.role'],
  53. // 'as' => 'rbac',
  54. ], function ($route) {
  55. //控制台
  56. // $route->get('console', 'Admin\IndexController@console');
  57. // $route->get('console', 'Admin\GameDataController@userOnlineView')->defaults('name', '控制台');
  58. $route->get('console', 'Admin\LiveDataController@gameInfo')->defaults('name', '控制台');
  59. $route->group(['prefix' => 'admin'], function (\Illuminate\Routing\Router $route) {
  60. // 系统健康状态管理
  61. $route->get('/system-health', 'Admin\SystemHealthController@index')->name('admin.system_health.index');
  62. $route->post('/system-health/update', 'Admin\SystemHealthController@update')->name('admin.system_health.update');
  63. $route->resource('repay_config', 'Admin\RePayConfigController');
  64. $route->any('/aries','Admin\AgentController@AriesCount');
  65. $route->any('/game_data/TigerBuyRecord','Admin\GameDataController@TigerBuyRecord');
  66. $route->any('/game_data/OxBuyRecord','Admin\GameDataController@OxBuyRecord');
  67. $route->any('/game_data/AztecBuyRecord','Admin\GameDataController@AztecBuyRecord');
  68. $route->any('/game_data/NewolyBuyRecord','Admin\GameDataController@NewOlympusBuyRecord');
  69. $route->any('/game_data/RabbitBuyRecord','Admin\GameDataController@RabbitBuyRecord');
  70. $route->any('/game_data/fishBuyRecord','Admin\GameDataController@fishBuyRecord');
  71. $route->get('callback/make', 'Admin\AccCallbackController@make');
  72. $route->get('callback/tempsend', 'Admin\AccCallbackController@sendBonusToAll');
  73. $route->get('dataview', 'Admin\GameDataController@userOnlineView');
  74. $route->get('/game/user/onlines', 'Admin\GameDataController@userOnline');
  75. $route->get('/createid', 'Admin\GameDataController@makeGameid');
  76. // $route->any('/game_data/GateBuyRecord','Admin\GameDataController@GateBuyRecord');
  77. // $route->any('/game_data/GateBuyRecord','Admin\GameDataController@GateBuyRecord');
  78. //菜单管理
  79. $route->get('menu/list', 'Admin\AdministratorController@menuList');
  80. $route->get('menu/add', 'Admin\AdministratorController@menuAddView');
  81. $route->post('menu/add', 'Admin\AdministratorController@menuAdd');
  82. $route->get('menu/update/{id}', 'Admin\AdministratorController@menuUpdateView');
  83. $route->post('menu/update/{id}', 'Admin\AdministratorController@menuUpdate');
  84. $route->post('menu/del/{id}', 'Admin\AdministratorController@menuDel');
  85. //角色管理
  86. $route->get('role/list', 'Admin\AdministratorController@roleList');
  87. $route->get('role/add', 'Admin\AdministratorController@roleAddView');
  88. $route->post('role/add', 'Admin\AdministratorController@roleAdd');
  89. $route->get('role/update/{id}', 'Admin\AdministratorController@roleUpdateView');
  90. $route->post('role/update/{id}', 'Admin\AdministratorController@roleUpdate');
  91. $route->post('role/del/{id}', 'Admin\AdministratorController@roleDel');
  92. //权限管理
  93. $route->get('permission/list', 'Admin\AdministratorController@permissionList');
  94. $route->get('permission/add', 'Admin\AdministratorController@permissionAddView');
  95. $route->post('permission/add', 'Admin\AdministratorController@permissionAdd');
  96. $route->get('permission/update/{id}', 'Admin\AdministratorController@permissionUpdateView');
  97. $route->post('permission/update/{id}', 'Admin\AdministratorController@permissionUpdate');
  98. $route->post('permission/del/{id}', 'Admin\AdministratorController@permissionDel');
  99. //管理员管理
  100. $route->get('administrator/list', 'Admin\AdministratorController@administratorList');
  101. $route->get('administrator/add', 'Admin\AdministratorController@administratorAddView');
  102. $route->post('administrator/add', 'Admin\AdministratorController@administratorAdd');
  103. $route->get('administrator/update/{id}', 'Admin\AdministratorController@administratorUpdateView');
  104. $route->post('administrator/update/{id}', 'Admin\AdministratorController@administratorUpdate');
  105. $route->post('administrator/del/{id}', 'Admin\AdministratorController@administratorDel');
  106. $route->post('administrator/block/{id}', 'Admin\AdministratorController@administratorBlock');
  107. //配置管理
  108. $route->get('config/list', 'Admin\ConfigController@configList');
  109. $route->get('config/add', 'Admin\ConfigController@configAddView');
  110. $route->post('config/add', 'Admin\ConfigController@configAdd');
  111. $route->get('config/update/{id}', 'Admin\ConfigController@configUpdateView');
  112. $route->post('config/update/{id}', 'Admin\ConfigController@configUpdate');
  113. $route->post('config/del/{id}', 'Admin\ConfigController@configDel');
  114. //举报与反馈
  115. $route->get('/complaint/opinion', 'Admin\ComplaintController@opinionList');
  116. $route->get('/opinion/email/{id}', 'Admin\ComplaintController@emailView');
  117. $route->post('/opinion/sendemail/{id}', 'Admin\ComplaintController@sendEmail');
  118. $route->get('/complaint/accusation', 'Admin\ComplaintController@accusationList');
  119. $route->post('/complaint/accusation', 'Admin\ComplaintController@accusationList');
  120. $route->post('/accusation/edit/{id}', 'Admin\ComplaintController@accusationEdit');
  121. $route->post('/accusation/del/{id}', 'Admin\ComplaintController@accusationDel');
  122. $route->get('/opinion/reply/{id}', 'Admin\ComplaintController@replyAddView');
  123. $route->post('/opinion/reply/{id}', 'Admin\ComplaintController@replyAdd');
  124. //公告管理
  125. $route->get('/notice/system', 'Admin\NoticeController@systemList');
  126. $route->any('/system/add', 'Admin\NoticeController@systemAddView');
  127. $route->post('/system/update_status', 'Admin\NoticeController@updateStatus');
  128. $route->any('/notice/hall_announcement', 'Admin\NoticeController@hallAnnouncement');
  129. $route->any('/notice/hall_announcement_add', 'Admin\NoticeController@hallAnnouncementAdd');
  130. $route->any('/notice/hall_announcement_update/{id}', 'Admin\NoticeController@hallAnnouncementUpdate');
  131. $route->any('/notice/hall_announcement_switch/{id}', 'Admin\NoticeController@hallAnnouncementSwitch');
  132. $route->any('/notice/hall_announcement_del/{id}', 'Admin\NoticeController@hallAnnouncementDel');
  133. $route->any('/notice/horse_race_lamp', 'Admin\NoticeController@horse_race_lamp');
  134. $route->any('/notice/horse_race_lamp_update/{id}', 'Admin\NoticeController@horse_race_lamp_update');
  135. $route->get('/notice/version', 'Admin\NoticeController@versionList');
  136. $route->get('/version/add', 'Admin\NoticeController@versionAddView');
  137. $route->post('/version/add', 'Admin\NoticeController@versionAdd');
  138. $route->get('/version/update/{id}', 'Admin\NoticeController@versionUpdateView');
  139. $route->post('/version/update/{id}', 'Admin\NoticeController@versionUpdate');
  140. $route->get('/notice/punish', 'Admin\NoticeController@punishList');
  141. $route->get('/punish/add', 'Admin\NoticeController@punishAddView');
  142. $route->post('/punish/add', 'Admin\NoticeController@punishAdd');
  143. $route->get('/punish/update/{id}', 'Admin\NoticeController@punishUpdateView');
  144. $route->post('/punish/update/{id}', 'Admin\NoticeController@punishUpdate');
  145. $route->post('/punish/excel', 'Admin\NoticeController@excel');
  146. //兑换管理
  147. $route->get('/exchange/hailefen', 'Admin\ExchangeController@hailefen');//嗨了分 兑换
  148. $route->get('/exchange/treasure', 'Admin\ExchangeController@treasureList');
  149. $route->post('/treasure/update/{id}', 'Admin\ExchangeController@treasureUpdate');
  150. $route->get('/exchange/shop', 'Admin\ExchangeController@shopList');
  151. $route->post('/shop/update/{id}', 'Admin\ExchangeController@shopUpdate');
  152. $route->get('/exchange/goods', 'Admin\ExchangeController@goodsList');
  153. $route->post('/goods/update/{id}', 'Admin\ExchangeController@goodsUpdate');
  154. $route->get('/exchange/shop_goods', 'Admin\ExchangeController@shopGoodsList');
  155. $route->get('/shop_goods/add', 'Admin\ExchangeController@shopGoodsAddView');
  156. $route->post('/shop_goods/add', 'Admin\ExchangeController@shopGoodsAdd');
  157. $route->get('/shop_goods/update/{id}', 'Admin\ExchangeController@shopGoodsUpdateView');
  158. $route->post('/shop_goods/update/{id}', 'Admin\ExchangeController@shopGoodsUpdate');
  159. $route->get('/exchange/everyday_card', 'Admin\ExchangeController@everydayCard');
  160. $route->get('/exchange/treasure_goods', 'Admin\ExchangeController@treasureGoodsList');
  161. $route->get('/treasure_goods/add', 'Admin\ExchangeController@treasureGoodsAddView');
  162. $route->post('/treasure_goods/add', 'Admin\ExchangeController@treasureGoodsAdd');
  163. $route->get('/treasure_goods/update/{id}', 'Admin\ExchangeController@treasureGoodsUpdateView');
  164. $route->post('/treasure_goods/update/{id}', 'Admin\ExchangeController@treasureGoodsUpdate');
  165. $route->get('/exchange/code_list', 'Admin\ExchangeController@exchangeCodeList');
  166. $route->get('/gift/add', 'Admin\ExchangeController@giftAddView');
  167. $route->get('/gift/list', 'Admin\ExchangeController@giftList');
  168. $route->get('/gift', 'Admin\ExchangeController@giftAdd');
  169. $route->get('/code/add', 'Admin\ExchangeController@codesAddView');
  170. $route->post('/code/add', 'Admin\ExchangeController@codesAdd');
  171. $route->get('/exchange/revenueinfo', 'Admin\ExchangeController@revenueInfo');
  172. $route->get('/exchange/cost', 'Admin\ExchangeController@costList');
  173. $route->post('/cost/update/{id}', 'Admin\ExchangeController@costUpdate');
  174. //充值管理
  175. $route->get('/recharge/list/{history?}', 'Admin\RechargeController@rechargeList');
  176. $route->get('/recharge/rank', 'Admin\RechargeController@rechargeRank');
  177. $route->get('/recharge/game_card_config', 'Admin\RechargeController@gameCardConfig');
  178. $route->get('/recharge/game_card_config_add', 'Admin\RechargeController@gameCardConfigAddView');
  179. $route->post('/recharge/game_card_config_add', 'Admin\RechargeController@gameCardConfigAdd');
  180. $route->post('/recharge/game_card_config_del/{id}', 'Admin\RechargeController@gameCardConfigDel');
  181. $route->any('/recharge/update_config/{id}', 'Admin\RechargeController@update_config');
  182. $route->any('/recharge/update_sort/{id}', 'Admin\RechargeController@update_sort');
  183. $route->any('/recharge/remarks/{id}', 'Admin\RechargeController@remarks');
  184. $route->any('/channel/minScore/{id}', 'Admin\ChannelController@minScore');
  185. $route->any('/channel/contrlScore/{id}', 'Admin\ChannelController@contrlScore');
  186. $route->any('/channel/rateN/{id}', 'Admin\ChannelController@rateN');
  187. /*补单*/
  188. $route->post('/recharge/supplement/{id}', 'Admin\RechargeController@supplement');
  189. $route->get('/recharge/first_charge', 'Admin\RechargeController@firstCharge');
  190. $route->get('/recharge/first_charge_status', 'Admin\RechargeController@firstChargeStatus');
  191. $route->any('/recharge/poll', 'Admin\RechargeController@poll');
  192. $route->get('/recharge/recomendar_recharge', 'Admin\RechargeController@recomendar_recharge');
  193. $route->any('/recharge/updatePic/{id}', 'Admin\RechargeController@updatePic');
  194. $route->any('/recharge/clear_cache', 'Admin\RechargeController@clearCache');
  195. $route->any('/recharge/month_card_edit/{id}', 'Admin\RechargeController@monthCardEdit');
  196. $route->any('/recharge/month_card_channel_edit/{id}', 'Admin\RechargeController@monthCardChannelEdit');
  197. $route->any('/recharge/month_card_switch/{id}', 'Admin\RechargeController@monthCardSwitch');
  198. $route->any('/recharge/month_card_channel_switch/{CardID}/{channel}', 'Admin\RechargeController@monthCardChannelSwitch');
  199. //充值-玩家充值记录
  200. $route->get('/recharge/record', 'Admin\RechargeController@record');
  201. $route->any('/recharge/config/{method}', 'Admin\RechargeController@config');
  202. $route->post('/recharge/switch/{id}', 'Admin\RechargeController@switch_control');
  203. // 充值档位修改
  204. $route->get('/recharge/gear_list', 'Admin\RechargeController@gear_list');
  205. $route->any('/recharge/add', 'Admin\RechargeController@add');
  206. $route->any('/recharge/update/{id}', 'Admin\RechargeController@update');
  207. $route->any('/recharge/gear_switch/{id}', 'Admin\RechargeController@gear_switch');
  208. $route->any('/recharge/channel_switch/{id}', 'Admin\RechargeController@channel_switch');
  209. $route->get('/recharge/ip_white', 'Admin\RechargeController@ip_white');
  210. $route->any('/recharge/ip_white_update/{id}', 'Admin\RechargeController@ip_white_update');
  211. $route->any('/recharge/gift', 'Admin\RechargeController@gift');// 充值礼包
  212. $route->get('/recharge/methods', 'Admin\RechargeController@methods');
  213. /* 渠道管理*/
  214. $route->any('/channel/channel_new', 'Admin\ChannelController@channelNew');
  215. $route->get('/channel/list', 'Admin\ChannelController@index');
  216. $route->any('/channel/channel_add', 'Admin\ChannelController@channelAdd');
  217. $route->any('/channel/channel_edit/{id}', 'Admin\ChannelController@channelEdit');
  218. $route->any('/channel/update/{id}', 'Admin\ChannelController@update');
  219. $route->any('/channel/switch/{id}', 'Admin\ChannelController@switch_control');
  220. $route->any('/channel/channel_switch/{id}', 'Admin\ChannelController@channel_switch');
  221. $route->get('/channel/channel_save_log', 'Admin\ChannelController@ChannelSaveLog');
  222. $route->get('/channel/channel_shield_id_white', 'Admin\ChannelController@ChannelShieldIDWhite');
  223. $route->any('/channel/channel_shield_id_white_add', 'Admin\ChannelController@add');
  224. $route->any('/channel/channel_shield_id_white_edit/{id}', 'Admin\ChannelController@edit');
  225. $route->post('/channel/channel_shield_id_white_del/{id}', 'Admin\ChannelController@del');
  226. $route->post('/channel/channel_shield_id_white_update_state', 'Admin\ChannelController@updateState');
  227. $route->any('/channel/recharge_game', 'Admin\ChannelController@rechargeGame');
  228. $route->any('/channel/open_games/{id}', 'Admin\ChannelController@OpenGames');
  229. $route->any('/channel/open_recharge/{id}', 'Admin\ChannelController@OpenRecharge');
  230. $route->any('/channel/remarks/{id}', 'Admin\ChannelController@remarks');
  231. $route->any('/channel/appkey/{id}', 'Admin\ChannelController@appkey');
  232. $route->any('/channel/review/{id}', 'Admin\ChannelController@review');
  233. $route->any('/channel/shareUrl/{id}', 'Admin\ChannelController@shareUrl'); // 分享url
  234. $route->any('/channel/withdrawal_config/{channel}', 'Admin\ChannelController@withdrawalConfig');
  235. $route->any('/channel/withdrawal_configall', 'Admin\ChannelController@withdrawalConfigAll');
  236. $route->any('/channel/withdrawal_switch', 'Admin\ChannelController@withdrawalSwitch');
  237. $route->any('/channel/share_config/{id}', 'Admin\ChannelController@shareConfig');
  238. $route->any('/channel/app_key_set/{id}', 'Admin\ChannelController@app_key_set');
  239. $route->any('/channel/pay_methods/{channel}', 'Admin\ChannelController@payMethods');
  240. $route->any('/channel/update_pay_config/{channel}', 'Admin\ChannelController@updatePayConfig');
  241. //用户管理
  242. $route->get('/user/excel/', 'Admin\UserController@downExcel');
  243. $route->get('/user/list/', 'Admin\UserController@userList');
  244. $route->get('/user/list/', 'Admin\UserController@userLost');
  245. $route->get('/user/classify', 'Admin\UserController@userClassify');
  246. $route->get('/user/purchase/{id}', 'Admin\UserController@purchaseHistoryList');
  247. $route->get('/user/game/{id}', 'Admin\UserController@gameHistoryList');
  248. $route->get('/user/score/{id}', 'Admin\UserController@scoreHistoryList');
  249. // $route->get('/user/score/{id}','Admin\UserController@scoreHistoryList');
  250. $route->get('/user/card/{id}', 'Admin\UserController@cardHistoryList');
  251. $route->post('/user/freeze/{id}', 'Admin\UserController@freezeUser');
  252. $route->get('/user/vip_classify', 'Admin\UserController@VipClassify');//VIP等级分布
  253. $route->get('/user/checker', 'Admin\UserController@checkersList');
  254. $route->get('/user/create_hexiao', 'Admin\UserController@createHexiao');
  255. $route->post('/user/create_hexiao', 'Admin\UserController@createHexiao');
  256. $route->get('/user/spreader', 'Admin\UserController@userSpreaderList');
  257. $route->get('/user/spreader/everyday/{id}', 'Admin\UserController@everydaySpreaderList');
  258. $route->get('/user/spreader/subordinate/{id}', 'Admin\UserController@subordinateList');
  259. $route->get('/user/verif', 'Admin\UserController@verificationList');
  260. $route->get('/user/score_change', 'Admin\UserController@scoreChange');
  261. $route->get('/user/bind_list', 'Admin\UserController@bind_list');
  262. $route->post('/user/user_tab/{id}', 'Admin\UserController@user_tab');
  263. $route->get('/user/daily_binding', 'Admin\UserController@dailyBinding');
  264. $route->any('/user/money_deviation', 'Admin\UserController@moneyDeviation');
  265. //实时数据
  266. $route->get('/livedata/gameinfo', 'Admin\LiveDataController@gameInfo');
  267. $route->get('/livedata/goldinfo', 'Admin\LiveDataController@goldInfo');
  268. $route->get('/livedata/online_player', 'Admin\LiveDataController@OnlinePlayer');
  269. //房卡管理
  270. $route->get('/card/statistics', 'Admin\CardController@statisticsList');
  271. $route->get('/card/friends', 'Admin\CardController@friendsList');
  272. $route->get('/card/game/record', 'Admin\CardController@gameRecordList');
  273. $route->get('/card/game/result', 'Admin\CardController@gameResultList');
  274. $route->get('/card/game/score', 'Admin\CardController@allScoreList');
  275. $route->get('/card/friends/members/{id}', 'Admin\CardController@membersList');
  276. $route->get('/card/friends/detail', 'Admin\CardController@friendsDetail');
  277. $route->get('/card/game/log', 'Admin\CardController@gameLogList');
  278. $route->get('/card/give', 'Admin\CardController@giveCardView');
  279. $route->post('/card/give', 'Admin\CardController@giveCard');
  280. $route->get('/card/give/record', 'Admin\CardController@giveCardRecordView');
  281. //金币场管理
  282. $route->get('/gold/recharge', 'Admin\GoldController@rechargeList');
  283. $route->get('/gold/gold', 'Admin\GoldController@goldList');
  284. $route->get('/gold/user', 'Admin\GoldController@userList');
  285. $route->get('/gold/game', 'Admin\GoldController@gameLogList');
  286. $route->get('/gold/gameconfig', 'Admin\GoldController@gameConfigList');
  287. $route->get('/gold/demo_gameconfig', 'Admin\GoldController@demo_gameconfig');
  288. $route->post('/gold/roomlist', 'Admin\GoldController@room_list');
  289. $route->get('/gold/gameconfig/update/{id}', 'Admin\GoldController@gameConfigUpdateView');
  290. $route->post('/gold/gameconfig/update/{id}', 'Admin\GoldController@gameConfigUpdate');
  291. $route->get('/gold/fishstock', 'Admin\GoldController@fishStock');
  292. $route->get('/gold/everyday', 'Admin\GoldController@goldEverydayList');
  293. $route->get('/gold/fishlist', 'Admin\GoldController@fishList');
  294. $route->get('/gold/operate', 'Admin\GoldController@operateList');
  295. $route->get('/gold/operate_detail/{id}', 'Admin\GoldController@operateDetail');
  296. $route->post('/gold/sync_stock/{id}', 'Admin\GoldController@sync_stock');
  297. $route->get('/gold/service_data', 'Admin\RoomServiceController@service_data');
  298. $route->get('/gold/service_data/show/{id}', 'Admin\RoomServiceController@show');
  299. $route->any('/gold/update_stock/{id}', 'Admin\GoldController@update_stock');
  300. $route->any('/gold/update_stock_log', 'Admin\GoldController@update_stock_log');
  301. //邮件管理
  302. $route->get('/mail/list', 'Admin\MailController@mailList');
  303. $route->get('/mail/add', 'Admin\MailController@mailAddView');
  304. $route->post('/mail/add', 'Admin\MailController@mailAdd');
  305. $route->get('/recharge/record', 'Admin\MailController@mailRecord');
  306. $route->get('/recharge/back_record', 'Admin\MailController@back_mailRecord');
  307. //代理管理
  308. $route->get('/subordinate/list/', 'Admin\SubordinateController@subordinateList');
  309. $route->get('/subordinate/add/', 'Admin\SubordinateController@addSubView');
  310. $route->post('/subordinate/add/', 'Admin\SubordinateController@addSub');
  311. $route->get('/subordinate/setcommission/{id}', 'Admin\SubordinateController@setCommissionView');
  312. $route->post('/subordinate/setcommission/{id}', 'Admin\SubordinateController@setCommission');
  313. /******** 客服系统管理 *************/
  314. //用户列表
  315. $route->any('/custom/my_list', 'Admin\CustomController@userListNew');
  316. $route->any('/custom/user_list', 'Admin\CustomController@userListAll');
  317. //$route->any('/custom/my_list', 'Admin\CustomController@userListNew');
  318. $route->post('/custom/callback', 'Admin\CustomController@getCallBack');
  319. $route->any('/custom/follow/{id}', 'Admin\CustomController@follow');
  320. $route->post('/custom/follow_add', 'Admin\CustomController@followAdd');
  321. $route->post('/custom/send_mail/{id}', 'Admin\CustomController@sendCallbackMail');
  322. /* 房间控制管理 */
  323. //房间实时数据
  324. $route->any('/global/room', 'Admin\GlobalController@room');
  325. $route->any('/global/update', 'Admin\GlobalController@update')->defaults('name', '游戏房间关闭');
  326. $route->any('/global/show_config/{id}', 'Admin\GlobalController@show_config');
  327. /* 用户管理 */
  328. //用户列表
  329. $route->any('/global/userlist', 'Admin\GlobalController@userlist');
  330. //用户列表 修改视图页面
  331. $route->any('/global/user_update', 'Admin\GlobalController@user_update');
  332. //用户列表 封号,解封操作
  333. $route->post('/global/ban', 'Admin\GlobalController@ban')->defaults('name', '用户管理-封号 / 解封');
  334. //用户列表 radio 筛选
  335. $route->get('global/rad', 'Admin\GlobalController@rad');
  336. //用户列表 点ID 跳转页面
  337. $route->get('global/id_find', 'Admin\GlobalController@id_find');
  338. $route->any('global/add_draw_base/{id}', 'Admin\GlobalController@add_draw_base');
  339. $route->any('global/add_tax/{id}', 'Admin\GlobalController@add_tax');
  340. //用户列表 关联姓名 设备 IP
  341. $route->get('global/join', 'Admin\GlobalController@join');
  342. //用户列表-用户单控系统
  343. $route->get('global/dk', 'Admin\GlobalController@dk');
  344. //用户列表-用户单控系统-详细列表用户
  345. $route->any('global/dk_userlist', 'Admin\GlobalController@dk_userlist');
  346. //用户列表-用户单控系统-详细列表用户修改页面
  347. $route->any('global/dk_userlist_edit', 'Admin\GlobalController@dk_userlist_edit');
  348. // 用户列表-用户单控系统-取消单控
  349. $route->post('global/cancel_dk', 'Admin\GlobalController@cancel_dk');
  350. $route->get('global/online_user', 'Admin\GlobalController@online_user');
  351. $route->get('global/game_room_switch', 'Admin\GlobalController@GameRoomSwitch_view');
  352. $route->post('global/game_room_switch', 'Admin\GlobalController@GameRoomSwitch');
  353. $route->post('global/remarks/{id}', 'Admin\GlobalController@remarks');
  354. $route->any('global/androidCheck', 'Admin\GlobalController@androidCheck');
  355. $route->any('global/AgentCommisionState', 'Admin\GlobalController@AgentCommisionState');
  356. $route->any('global/agent_reward', 'Admin\GlobalController@agent_reward');
  357. $route->any('global/head_audit', 'Admin\GlobalController@headAudit');
  358. $route->any('global/head_audit_update/{id}', 'Admin\GlobalController@headAuditUpdate');
  359. $route->any('global/user_search', 'Admin\GlobalController@user_search');
  360. /* 报表管理 */
  361. //全局报表
  362. $route->any('/global/report', 'Admin\GlobalController@index');
  363. //全局报表
  364. $route->any('/global/platform_record', 'Admin\GlobalController@platformRecord');
  365. $route->any('/global/sub_detail/{id}', 'Admin\GlobalController@platformSub');
  366. //输赢报表
  367. $route->any('/global/winloser', 'Admin\GlobalController@winloser');
  368. // 查看战绩
  369. $route->any('/global/game_record', 'Admin\GlobalController@game_record');
  370. //推广员奖励报表
  371. $route->any('/global/reward', 'Admin\GlobalController@reward');
  372. $route->any('/global/user_source', 'Admin\GlobalController@userSource');
  373. // 查看对局信息
  374. $route->any('/global/match_information/{id}', 'Admin\GlobalController@match_information');
  375. $route->any('/global/close_cash/{id}', 'Admin\GlobalController@close_cash');
  376. $route->any('/global/relieve/{id}', 'Admin\GlobalController@relieve');
  377. $route->any('/global/update_label/{id}', 'Admin\GlobalController@update_label');
  378. $route->any('/global/deleteRoom/{id}', 'Admin\GlobalController@deleteRoom');
  379. $route->any('/global/control_statistics', 'Admin\GlobalController@control_statistics');
  380. $route->any('/global/register_invite_switches/{id}', 'Admin\GlobalController@register_invite_switches');
  381. // 单控配置模板
  382. $route->any('/Control/ControlConfig', 'Admin\ControlController@ControlConfig');
  383. $route->any('/Control/ControlConfig_add', 'Admin\ControlController@ControlConfig_add');
  384. $route->any('/Control/ControlConfig_update/{id}', 'Admin\ControlController@ControlConfig_update');
  385. $route->any('/Control/getConfig', 'Admin\ControlController@getConfig');
  386. $route->any('/Control/gradeChange/{id}', 'Admin\ControlController@gradeChange');
  387. $route->any('/Control/ControlConfigGear', 'Admin\ControlController@ControlConfigGear');
  388. $route->any('/Control/ControlConfigGearAdd', 'Admin\ControlController@ControlConfigGearAdd');
  389. $route->any('/Control/fish_add/{id}', 'Admin\ControlController@fish_add');
  390. $route->get('/Control/control_config_info', 'Admin\ControlController@control_config_info');
  391. $route->any('/Control/control_config_info_update/{id}', 'Admin\ControlController@control_config_info_update');
  392. /* 系统设置 IP白名单管理*/
  393. // 列表
  394. $route->get('/IpWhiteList/list', 'Admin\IpWhiteListController@index')->defaults('name', 'IP白名单列表');
  395. $route->get('/login_ip/list', 'Admin\IpWhiteListController@login_ip');
  396. $route->get('/IpWhiteList/add', 'Admin\IpWhiteListController@add_view');
  397. $route->post('/IpWhiteList/add', 'Admin\IpWhiteListController@add')->defaults('name', 'IP白名单添加提交');
  398. $route->get('/IpWhiteList/update/{id}', 'Admin\IpWhiteListController@update_view');
  399. $route->post('/IpWhiteList/update', 'Admin\IpWhiteListController@update')->defaults('name', 'IP白名单修改提交');
  400. $route->post('/IpWhiteList/del/{id}', 'Admin\IpWhiteListController@del')->defaults('name', 'IP白名单删除');
  401. //日志
  402. $route->get('/admin_log/list', 'Admin\AdminLogController@index');
  403. $route->get('/admin_log/show/{id}', 'Admin\AdminLogController@show');
  404. // 提现订单管理
  405. $route->any('/withdrawal/resetstate', 'Admin\WithdrawalController@state5List');
  406. $route->any('/withdrawal/resetstate/{id}', 'Admin\WithdrawalController@state5List');
  407. $route->get('/withdrawal/waitWithdrawal', 'Admin\WithdrawalController@waitWithdrawal');
  408. $route->get('/withdrawal/waitWithdrawalNewPlayer', 'Admin\WithdrawalController@waitWithdrawalNewPlayer');
  409. $route->any('/withdrawal/switchCs', 'Admin\WithdrawalController@changeNewWithdrawOpen');
  410. $route->get('/withdrawal/verify', 'Admin\WithdrawalController@verify');
  411. $route->post('/withdrawal/verify', 'Admin\WithdrawalController@verify');
  412. $route->get('/withdrawal/list', 'Admin\WithdrawalController@verify_finish');
  413. //$route->get('/withdrawal/','Admin\WithdrawalController@verify_finish');
  414. $route->get('/withdrawal/config', 'Admin\WithdrawalController@config');
  415. $route->any('/withdrawal/proportion', 'Admin\WithdrawalController@proportion');
  416. $route->any('/withdrawal/artificial', 'Admin\WithdrawalController@artificial');
  417. $route->any('/withdrawal/fee', 'Admin\WithdrawalController@fee');
  418. $route->any('/withdrawal/WithDrawPoint', 'Admin\WithdrawalController@WithDrawPoint');
  419. $route->get('/withdrawal/show/{id}', 'Admin\WithdrawalController@show');
  420. $route->get('/withdrawal/show/{id}', 'Admin\WithdrawalController@show');
  421. $route->any('/withdrawal/WithDrawMax', 'Admin\WithdrawalController@WithDrawMax');
  422. $route->any('/withdrawal/MaxTXNotRecharge', 'Admin\WithdrawalController@MaxTXNotRecharge');
  423. $route->any('/withdrawal/WithDrawMin', 'Admin\WithdrawalController@WithDrawMin');
  424. $route->any('/withdrawal/risk_assessment/{id}', 'Admin\WithdrawalController@risk_assessment');
  425. $route->post('/withdrawal/remarks/{id}', 'Admin\WithdrawalController@remarks');
  426. $route->get('/withdrawal/duplicate_checking', 'Admin\WithdrawalController@duplicate_checking');
  427. $route->post('/withdrawal/recovery/{id}', 'Admin\WithdrawalController@recovery');
  428. $route->get('/withdrawal/exempt_review', 'Admin\WithdrawalController@exempt_review');
  429. $route->any('/withdrawal/exempt_review_add', 'Admin\WithdrawalController@exempt_review_add');
  430. $route->any('/withdrawal/exempt_review_update/{id}', 'Admin\WithdrawalController@exempt_review_update');
  431. $route->any('/withdrawal/block/{id}', 'Admin\WithdrawalController@block');
  432. $route->any('/withdrawal/locking/{id}', 'Admin\WithdrawalController@locking');
  433. $route->any('/withdrawal/turn_down', 'Admin\WithdrawalController@turn_down');
  434. $route->any('/withdrawal/userWithdrawalStatistics', 'Admin\WithdrawalController@userWithdrawalStatistics');
  435. $route->any('/withdrawal/compensate_notify/{RecordID}', 'Admin\WithdrawalController@compensateNotify');
  436. $route->any('/withdrawal/init_data/{RecordID}', 'Admin\WithdrawalController@initData');
  437. $route->any('/withdrawal/monitor_order_fail_call/{OrderID}', 'Admin\WithdrawalController@monitorOrderFailCall');
  438. $route->any('/withdrawal/draw_base_change_log', 'Admin\WithdrawalController@drawBaseChangeLog');
  439. $route->get('/withdraw/rank', 'Admin\WithdrawalController@withdrawRank');
  440. $route->get('/withdraw/names', 'Admin\WithdrawalController@nameStatics');
  441. // 个人池配置
  442. $route->any('/recharge_control_config/index', 'Admin\RechargeControlConfigController@index');
  443. $route->any('/recharge_control_config/add', 'Admin\RechargeControlConfigController@add');
  444. $route->any('/recharge_control_config/update/{id}', 'Admin\RechargeControlConfigController@update');
  445. $route->post('/recharge_control_config/del/{id}', 'Admin\RechargeControlConfigController@del');
  446. $route->post('/recharge_control_config/switch/{id}', 'Admin\RechargeControlConfigController@switch');
  447. $route->any('/config/halloween', 'Admin\ConfigController@Halloween');
  448. $route->any('/config/fruit9x', 'Admin\ConfigController@Fruit9x');
  449. /*彩金控制*/
  450. $route->any('/lottery/control', 'Admin\LotteryController@index');
  451. /*单控操作记录*/
  452. $route->any('/control/record', 'Admin\ControlRecordController@index');
  453. // 单控池监控
  454. $route->any('/control/monitor', 'Admin\ControlRecordController@monitor');
  455. $route->any('/group_control/record', 'Admin\GroupControlRecordController@record');
  456. $route->get('/group_control/show_config/{id}', 'Admin\GroupControlRecordController@show_config');
  457. $route->get('/control/show_control_log/{id}', 'Admin\ControlRecordController@show_control_log');
  458. $route->get('/group_control/control', 'Admin\GroupControlRecordController@control');
  459. $route->get('/group_control/show_control_config/{id}', 'Admin\GroupControlRecordController@show_control_config');
  460. $route->any('/group_control/control_add/{id}', 'Admin\GroupControlRecordController@control_add');
  461. $route->any('/group_control/control_update/{id}', 'Admin\GroupControlRecordController@control_update');
  462. $route->any('/group_control/control_del/{id}', 'Admin\GroupControlRecordController@control_del');
  463. $route->any('/group_control/control_updateStatus/{id}', 'Admin\GroupControlRecordController@control_updateStatus');
  464. $route->any('/group_control/sync_res/{id}', 'Admin\GroupControlRecordController@sync_res');
  465. $route->any('/group_control/roomList', 'Admin\GroupControlRecordController@roomList');
  466. $route->any('/group_control/room', 'Admin\GroupControlRecordController@room');
  467. $route->any('/group_control/room_add', 'Admin\GroupControlRecordController@room_add');
  468. $route->any('/group_control/room_update/{id}', 'Admin\GroupControlRecordController@room_update');
  469. $route->any('/group_control/award_allocation', 'Admin\GroupControlRecordController@award_allocation');
  470. $route->any('/group_control/award_allocation_add', 'Admin\GroupControlRecordController@award_allocation_add');
  471. $route->any('/group_control/award_allocation_update', 'Admin\GroupControlRecordController@award_allocation_update');
  472. $route->any('/group_control/award_allocation_del/{id}', 'Admin\GroupControlRecordController@award_allocation_del');
  473. $route->any('/group_control/gemstone', 'Admin\GroupControlRecordController@gemstone');
  474. $route->any('/group_control/gemstone_update', 'Admin\GroupControlRecordController@gemstone_update');
  475. $route->any('/group_control/LuckyGemstoneMul', 'Admin\GroupControlRecordController@LuckyGemstoneMul');
  476. $route->any('/group_control/LuckyGemstoneMul_update', 'Admin\GroupControlRecordController@LuckyGemstoneMul_update');
  477. /*用户标签*/
  478. $route->get('/user_tags/index', 'Admin\UserTagsController@index');
  479. // 库存变化曲线
  480. $route->get('/stock/change', 'Admin\StockController@index');
  481. $route->get('/stock/room_list', 'Admin\StockController@roomList');
  482. /*数据统计新后台*/
  483. // 用户行为 -- 埋点数据
  484. $route->get('/burying_point/index', 'Admin\BuryingPointController@index');
  485. $route->get('/burying_point/weight', 'Admin\BuryingPointController@weight');
  486. $route->post('/burying_point/update/{id}', 'Admin\BuryingPointController@update');
  487. // 玩家输赢排行榜
  488. // $route->get('/data_analy/score', 'Admin\DataAnalysisController@data_analy');
  489. // 数据统计管理
  490. // $route->get('/game/room', 'Admin\GamesController@room');
  491. // 返水活动
  492. $route->get('/return_water/config', 'Admin\ReturnWaterController@config');
  493. $route->any('/return_water/update/{id}', 'Admin\ReturnWaterController@update');
  494. $route->any('/return_water/gear', 'Admin\ReturnWaterController@gear');
  495. $route->any('/return_water/gear_add', 'Admin\ReturnWaterController@gear_add');
  496. $route->any('/return_water/gear_update/{id}', 'Admin\ReturnWaterController@gear_update');
  497. $route->any('/return_water/gear_status/{id}', 'Admin\ReturnWaterController@gear_status');
  498. $route->any('/return_water/total_switch', 'Admin\ReturnWaterController@totalSwitch');
  499. // 签到
  500. $route->get('/sign_in/index', 'Admin\SignInController@index');
  501. $route->any('/system_status_info/customer_service', 'Admin\SystemStatusInfoController@customer_service');
  502. $route->any('/system_status_info/high_customer_service', 'Admin\SystemStatusInfoController@high_customer_service');
  503. $route->any('/chart/dashboard', 'Admin\ChartController@dashboard');
  504. // 短信通道切换开关
  505. $route->any('/sys_sms_config/index', 'Admin\SysSmsConfigController@index');
  506. $route->any('/sys_sms_config/update_status/{id}', 'Admin\SysSmsConfigController@updateStatus');
  507. $route->any('/sys_sms_config/remarks/{id}', 'Admin\SysSmsConfigController@Remarks');
  508. $route->any('/sys_sms_config/update/{id}', 'Admin\SysSmsConfigController@Update');
  509. // 裂变需求
  510. $route->any('/extension/verify', 'Admin\ExtensionController@verify');
  511. $route->any('/extension/verify_update/{id}', 'Admin\ExtensionController@verify_update');
  512. $route->any('/extension/register_config', 'Admin\ExtensionController@register_config');
  513. $route->any('/extension/register_config_add', 'Admin\ExtensionController@register_config_add');
  514. $route->any('/extension/register_config_update/{id}', 'Admin\ExtensionController@register_config_update');
  515. $route->any('/extension/upper_limit', 'Admin\ExtensionController@upperLimit');
  516. $route->any('/extension/verify_score', 'Admin\ExtensionController@verifyScore');
  517. $route->any('/extension/user_source', 'Admin\ExtensionController@userSource');
  518. $route->any('/extension/verify_final', 'Admin\ExtensionController@verifyFinal');
  519. $route->any('/extension/verify_remarks/{id}', 'Admin\ExtensionController@verifyRemarks');
  520. $route->any('/extension/verify_final_remarks/{id}', 'Admin\ExtensionController@verifyFinalRemarks');
  521. $route->any('/extension/gamecount_config', 'Admin\ExtensionController@gameCountConfig');
  522. $route->any('/extension/gamecount_config_add', 'Admin\ExtensionController@gameCountConfig_add');
  523. $route->any('/extension/gamecount_config_update/{id}', 'Admin\ExtensionController@gameCountConfig_update');
  524. $route->any('/extension/gamecount_limit', 'Admin\ExtensionController@gameCountLimit');
  525. // 彩金自动审核开关
  526. $route->any('/extension/auto_verify', 'Admin\ExtensionController@autoVerify');
  527. $route->any('/extension/recharge_rate', 'Admin\ExtensionController@recharge_rate');
  528. // 新代理系统管理路由
  529. $route->any('/extension_new/verify', 'Admin\ExtensionNewController@verify')->name('admin.extension_new.verify');
  530. $route->any('/extension_new/verify_update/{id}', 'Admin\ExtensionNewController@verify_update')->name('admin.extension_new.verify_update');
  531. $route->any('/extension_new/register_config', 'Admin\ExtensionNewController@register_config')->name('admin.extension_new.register_config');
  532. $route->any('/extension_new/register_config_add', 'Admin\ExtensionNewController@register_config_add')->name('admin.extension_new.register_config_add');
  533. $route->any('/extension_new/register_config_update/{id}', 'Admin\ExtensionNewController@register_config_update')->name('admin.extension_new.register_config_update');
  534. $route->any('/extension_new/upper_limit', 'Admin\ExtensionNewController@upperLimit')->name('admin.extension_new.upper_limit');
  535. $route->any('/extension_new/verify_score', 'Admin\ExtensionNewController@verifyScore')->name('admin.extension_new.verify_score');
  536. $route->any('/extension_new/user_source', 'Admin\ExtensionNewController@userSource')->name('admin.extension_new.user_source');
  537. $route->any('/extension_new/verify_final', 'Admin\ExtensionNewController@verifyFinal')->name('admin.extension_new.verify_final');
  538. $route->any('/extension_new/verify_remarks/{id}', 'Admin\ExtensionNewController@verifyRemarks')->name('admin.extension_new.verify_remarks');
  539. $route->any('/extension_new/verify_final_remarks/{id}', 'Admin\ExtensionNewController@verifyFinalRemarks')->name('admin.extension_new.verify_final_remarks');
  540. $route->any('/extension_new/gamecount_config', 'Admin\ExtensionNewController@gameCountConfig')->name('admin.extension_new.gamecount_config');
  541. $route->any('/extension_new/gamecount_config_add', 'Admin\ExtensionNewController@gameCountConfig_add')->name('admin.extension_new.gamecount_config_add');
  542. $route->any('/extension_new/gamecount_config_update/{id}', 'Admin\ExtensionNewController@gameCountConfig_update')->name('admin.extension_new.gamecount_config_update');
  543. $route->any('/extension_new/gamecount_limit', 'Admin\ExtensionNewController@gameCountLimit')->name('admin.extension_new.gamecount_limit');
  544. // 彩金自动审核开关
  545. $route->any('/extension_new/auto_verify', 'Admin\ExtensionNewController@autoVerify')->name('admin.extension_new.auto_verify');
  546. $route->any('/extension_new/recharge_rate', 'Admin\ExtensionNewController@recharge_rate')->name('admin.extension_new.recharge_rate');
  547. // 绑定关系查询
  548. $route->any('/extension_new/daily_binding', 'Admin\ExtensionNewController@dailyBinding')->name('admin.extension_new.daily_binding');
  549. $route->any('/extension_new/reward', 'Admin\ExtensionNewController@reward')->name('admin.extension_new.reward');
  550. $route->any('/extension_new/bind_list', 'Admin\ExtensionNewController@bind_list')->name('admin.extension_new.bind_list');
  551. $route->any('/version/del_version', 'Admin\VersionController@delVersion');
  552. // 彩金池操作
  553. $route->any('/winnings/operate', 'Admin\WinningsController@operate');
  554. $route->any('/winnings/update/{id}', 'Admin\WinningsController@update');
  555. // 验证码查看+手机号手动绑定
  556. $route->any('/code/query', 'Admin\CodeController@query');
  557. $route->any('/code/bind_phone/{id}', 'Admin\CodeController@bind_phone');
  558. // crash控制参数配置
  559. $route->any('/crash/config', 'Admin\CrashController@operate');
  560. $route->any('/crash/config_update/{id}', 'Admin\CrashController@config_update');
  561. // crash控制参数配置
  562. $route->any('/aviator/config', 'Admin\CrashController@aviator_operate');
  563. $route->any('/aviator/config_update/{id}', 'Admin\CrashController@aviator_config_update');
  564. // crash控制参数配置
  565. $route->any('/aviator2/config', 'Admin\CrashController@aviator2_operate');
  566. $route->any('/aviator2/config_update/{id}', 'Admin\CrashController@aviator2_config_update');
  567. // ClearBomb 控制参数配置
  568. $route->any('/clearBomb/config', 'Admin\ClearBombController@operate');
  569. $route->any('/clearBomb/config_update/{id}', 'Admin\ClearBombController@config_update');
  570. // 拉霸世界杯 控制参数配置
  571. $route->any('/slots_world_cup/config', 'Admin\SlotsWorldCupController@operate');
  572. $route->any('/slots_world_cup/config_update/{id}', 'Admin\SlotsWorldCupController@config_update');
  573. // joker5x1 控制参数配置
  574. $route->any('/master_joker/config', 'Admin\ConfigController@Joker5x1');
  575. $route->any('/fortune_tiger/config', 'Admin\ConfigController@FortuneTiger');
  576. $route->any('/fortune_ox/config', 'Admin\ConfigController@FortuneOX');
  577. $route->any('/fishing/config', 'Admin\ConfigController@FishingPlus');
  578. $route->any('/config/newoly', 'Admin\ConfigController@newolympusSlot');
  579. $route->any('/rabbit/config', 'Admin\ConfigController@FortuneRabbit');
  580. $route->any('/aztec/config', 'Admin\ConfigController@Aztec');
  581. $route->any('/zeus/config', 'Admin\ZeusController@operate');
  582. $route->any('/zeus/config_update/{id}', 'Admin\ZeusController@config_update');
  583. $route->any('/athena/config', 'Admin\AthenaController@operate');
  584. $route->any('/athena/config_update/{id}', 'Admin\AthenaController@config_update');
  585. // 开关管理
  586. $route->any('/switches', 'Admin\SwitchesController@index');
  587. $route->any('/switches/set_status/{id}', 'Admin\SwitchesController@setStatus');
  588. // 黑名单
  589. $route->any('/blacklist', 'Admin\BlacklistController@index');
  590. $route->any('/blacklist/config/{id}', 'Admin\BlacklistController@config');
  591. $route->any('/blacklist/add/{UserID}', 'Admin\BlacklistController@add');
  592. $route->any('/blacklist/remove/{UserID}', 'Admin\BlacklistController@remove');
  593. $route->any('/blacklist/history', 'Admin\BlacklistController@history');
  594. $route->any('/config/treasure_slot', 'Admin\ConfigController@treasureSlot');
  595. $route->any('/config/game_config_update/{key}', 'Admin\ConfigController@gameConfigUpdate');
  596. $route->any('/config/light_slot', 'Admin\ConfigController@LightSlot');
  597. $route->any('/config/hive', 'Admin\ConfigController@Hive');
  598. $route->get('/game/user/online_list','Admin\GameDataController@onlineList');
  599. $route->any('/game_data/rank','Admin\GameDataController@gameRankList');
  600. // 游戏输赢排行榜
  601. $route->get('/game_data/winlose_rank', 'Admin\GameWinLoseRankController@index')->defaults('name', '游戏输赢排行榜');
  602. // PG游戏参数配置
  603. $route->any('/pg-game-config', 'Admin\PGGameConfigController@index')->name('admin.pg-game-config');
  604. $route->any('/pg-game-config/update', 'Admin\PGGameConfigController@update')->name('admin.pg-game-config.update');
  605. $route->post('/pg-game-config/copy_all', 'Admin\PGGameConfigController@copyAll')->name('admin.pg-game-config.copy_all');
  606. // PG游戏参数配置
  607. $route->any('/jl-game-config', 'Admin\JLGameConfigController@index')->name('admin.jl-game-config');
  608. $route->any('/jl-game-config/update', 'Admin\JLGameConfigController@update')->name('admin.jl-game-config.update');
  609. $route->post('/jl-game-config/copy_all', 'Admin\JLGameConfigController@copyAll')->name('admin.jl-game-config.copy_all');
  610. $route->any('/game_data/user_detail', 'Admin\GameDataController@userDetail');
  611. $route->any('/user_total/list', 'Admin\GameDataController@userTotalList');
  612. });
  613. });
  614. Route::group([
  615. 'middleware' => ['install.check', 'session.check'],
  616. 'as' => 'base',
  617. ], function ($route) {
  618. //框架
  619. $route->get('admin/bx_nb', 'Admin\IndexController@index')->middleware(['check.role']);
  620. $route->get('admin/mex', 'Admin\IndexController@index')->middleware(['check.role']);
  621. // $route->get('/', 'Admin\IndexController@index')->middleware(['check.role']);
  622. //403无访问权限
  623. $route->get('403', 'Admin\IndexController@noPermission');
  624. //修改个人信息
  625. $route->get('edit/info/{id}', 'Admin\AdministratorController@editInfoView');
  626. $route->post('edit/info/{id}', 'Admin\AdministratorController@editInfo');
  627. //图片上传
  628. $route->post('admin/upload', 'Admin\IndexController@upload');
  629. $route->post('admin/wangeditor/upload', 'Admin\IndexController@wangeditorUpload');
  630. //退出登录
  631. $route->get('logout', 'Admin\AdministratorController@logout');
  632. });
  633. Route::group([
  634. // 'middleware' => ['install.check'],
  635. 'as' => 'base',
  636. ], function ($route) {
  637. // game/admin_background/operate/login
  638. // 登录
  639. $route->get('admin/login_op', 'Admin\AdministratorController@login');
  640. $route->post('admin/login_op', 'Admin\AdministratorController@checkLogin');
  641. $route->get('admin/login_mx', 'Admin\AdministratorController@login');
  642. $route->post('admin/login_mx', 'Admin\AdministratorController@checkLogin');
  643. });
  644. // 图标库(开发者用)
  645. Route::get('icon', function () {
  646. return view('admin.icon');
  647. });
  648. // 常用后台模板(开发者用)
  649. Route::get('tmp', function () {
  650. return view('admin.tmp');
  651. });
  652. // 安装向导
  653. //Route::get('install', 'InstallController@index')->name('installView');
  654. //Route::post('install/1', 'InstallController@setEnviroment')->name('setEnviroment');
  655. //Route::post('install/2', 'InstallController@startInstall')->name('startInstall');
  656. //Route::get('admin/test', 'Admin\TestController@index')->defaults('key', '测试接口');
  657. //Route::get('admin/test1', 'Admin\TestController@test');
  658. //Route::get('admin/drawTest', 'Admin\TestController@drawTest');
  659. //Route::get('admin/pay_test', 'Admin\PayTestController@pay');
  660. //Route::get('admin/recovery', 'Admin\PayTestController@recovery');
  661. //Route::get('admin/cash_notify', 'Admin\PayTestController@cashNotify');
  662. // Evoplay游戏
  663. Route::group([
  664. 'middleware' => ['install.check', 'auth', 'check.role'],
  665. ], function ($route) {
  666. $route->get('/evoplay/game_lunch', 'Game\EvoplayController@gameLunch');
  667. $route->get('/evoplay/game_list', 'Game\EvoplayController@gameList');
  668. });