vali 6 年之前
父節點
當前提交
5db24332f7
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/Logic/WinfailLogic.php

+ 1 - 1
app/Logic/WinfailLogic.php

@@ -86,7 +86,7 @@ class WinfailLogic
         $return = [];
         $ret = DB::table("money_buy_match")->where(['game_code' => $type, 'match_id' => $match_id, 'bet_type' => $bet_type])->get();
         if (count($ret) <= 0) {
-            return;
+            return [];
         }
 
         foreach ($ret as $val) {