Browse Source

no message

Tree 1 week ago
parent
commit
c5562ae8af
2 changed files with 20 additions and 0 deletions
  1. 7 0
      routes/game.php
  2. 13 0
      routes/web.php

+ 7 - 0
routes/game.php

@@ -244,6 +244,9 @@ Route::group([
     $route->any('/pay/claim_first_pay_gift', 'Game\PayRechargeController@claimFirstPayGiftReward'); // 领取首充礼包奖励
     $route->any('/pay/bankruptcy_gift', 'Game\PayRechargeController@bankruptcyGift'); // 破产礼包
 
+    $route->any('/reward-code/redeem', 'Game\RewardCodeController@redeem');
+
+
     //正式
     $route->any('/pgpro/lunch', 'Game\PgSoftController@gameLunch');
 
@@ -281,6 +284,10 @@ Route::group([
     $route->any('/holiday_wheel/info', 'Game\ActivityController@holidayWheelInfo');
     $route->any('/holiday_wheel/spin', 'Game\ActivityController@holidayWheelSpin');
 
+    // 圣诞大转盘
+    $route->any('/christmas_wheel/info', 'Game\ActivityController@christmasWheelInfo');
+    $route->any('/christmas_wheel/spin', 'Game\ActivityController@christmasWheelSpin');
+
     // VIP提现诱导任务
     $route->any('/vip-withdraw/tasks', 'Game\ActivityController@getVipWithdrawTasks');
     $route->any('/vip-withdraw/claim', 'Game\ActivityController@claimVipWithdrawReward');

+ 13 - 0
routes/web.php

@@ -195,6 +195,14 @@ Route::group([
         $route->get('/exchange/revenueinfo', 'Admin\ExchangeController@revenueInfo');
         $route->get('/exchange/cost', 'Admin\ExchangeController@costList');
         $route->post('/cost/update/{id}', 'Admin\ExchangeController@costUpdate');
+
+
+        // Reward code admin
+        $route->get('/reward-code', 'Admin\RewardCodeController@index');
+        $route->post('/reward-code', 'Admin\RewardCodeController@store');
+        $route->post('/reward-code/{id}/status', 'Admin\RewardCodeController@updateStatus');
+        $route->get('/reward-code/history', 'Admin\RewardCodeController@records');
+
         //充值管理
         $route->get('/recharge/config/cash', 'Admin\WithdrawalController@cashier_channel_config')->name('admin.cashier.config');
         $route->get('/recharge/list/{history?}', 'Admin\RechargeController@rechargeList');
@@ -749,6 +757,11 @@ Route::group([
         $route->post('/holiday-wheel/update', 'Admin\HolidayWheelController@update')->name('admin.holiday-wheel.update');
         $route->get('/holiday-wheel/history', 'Admin\HolidayWheelController@history')->name('admin.holiday-wheel.history');
         
+        // 圣诞大转盘配置
+        $route->any('/christmas-wheel', 'Admin\ChristmasWheelController@index')->name('admin.christmas-wheel');
+        $route->post('/christmas-wheel/update', 'Admin\ChristmasWheelController@update')->name('admin.christmas-wheel.update');
+        $route->get('/christmas-wheel/history', 'Admin\ChristmasWheelController@history')->name('admin.christmas-wheel.history');
+        
         // Bonus购买回报配置
         $route->any('/game-buy-bonus-config', 'Admin\GameBuyBonusConfigController@index')->name('admin.game-buy-bonus-config');
         $route->post('/game-buy-bonus-config/update', 'Admin\GameBuyBonusConfigController@update')->name('admin.game-buy-bonus-config.update');