Selaa lähdekoodia

提交config配置

lip 1 viikko sitten
vanhempi
sitoutus
e935ac0f7d
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 2 2
      app/Http/Controllers/admin/JisuLottery.php

+ 2 - 2
app/Http/Controllers/admin/JisuLottery.php

@@ -87,11 +87,11 @@ class JisuLottery extends Controller
                 if (count($params['advance_code']) != 5) {
                     throw new Exception('开奖号码必须是5个数');
                 }
-            } if ($info->type == 6) {
+            } elseif ($info->type == 6) {
                 if (count($params['advance_code']) != 3) {
                     throw new Exception('开奖号码必须是3个数');
                 }
-            }else {
+            } else {
                 if (count($params['advance_code']) != 10) {
                     throw new Exception('开奖号码必须是10个数');
                 }