瀏覽代碼

异常处理

彭俊 6 年之前
父節點
當前提交
9ad6af1198
共有 2 個文件被更改,包括 5 次插入7 次删除
  1. 0 2
      Application/Sports/Controller/Head.php
  2. 5 5
      Application/Sports/Lang/GameTypes.php

+ 0 - 2
Application/Sports/Controller/Head.php

@@ -236,11 +236,9 @@ class Head extends Controller{
                 case 'StStringScene'://串场
                     $type[$k]['matchNum'] = count($StStringScene);
                     break;
-                    /*
                 case 'StChampion'://冠军
                     $type[$k]['matchNum'] = count($oddsAll);
                     break;
-                    */
                 default:
                     throw new \Exception(Render([], '10002', lang('Tips', 'Sports')->get('PARAM_ERROR')));
             }

+ 5 - 5
Application/Sports/Lang/GameTypes.php

@@ -25,9 +25,9 @@ return array(
         'type_code' => 'StStringScene',
         'type_name' => '串场',
     ] ,
-    [
-        'type_id' => 6,
-        'type_code' => 'StChampion',
-        'type_name' => '冠军',
-    ]
+    // [
+    //     'type_id' => 6,
+    //     'type_code' => 'StChampion',
+    //     'type_name' => '冠军',
+    // ]
 );