Browse Source

提交极速游戏

lip 2 tháng trước cách đây
mục cha
commit
471670af14
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      app/Models/JisuGameplay.php

+ 1 - 1
app/Models/JisuGameplay.php

@@ -8,7 +8,7 @@ class JisuGameplay extends BaseModel
     protected $fillable = [ 'game', 'game_en', 'gameplay', 'gameplay_en', 'number', 'number_en', 'odds','type','maxinum','mininum'];
     
     public static function getGame($type) {
-        $list = JisuGameplay::where('type',$type)->select()->toArray();
+        $list = JisuGameplay::where('type',$type)->get()->toArray();
         $tree = [];
         foreach($list as $item) {
             if (!isset($tree[$item['gameplay']])) {