Kaynağa Gözat

提交config配置

lip 3 ay önce
ebeveyn
işleme
e935ac0f7d
1 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  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个数');
                 }