Ken 5 ore în urmă
părinte
comite
2a7663a846
1 a modificat fișierele cu 0 adăugiri și 3 ștergeri
  1. 0 3
      app/Http/Controllers/admin/Balance.php

+ 0 - 3
app/Http/Controllers/admin/Balance.php

@@ -28,7 +28,6 @@ class Balance extends Controller
             $page = request()->input('page', 1);
             $limit = request()->input('limit', 10);
             $query = BalanceLog::where(BalanceLogService::getWhere($params));
-           $sql = $query->toSql();
             $data['total'] = $query->count();
             $totalAmount = '--';
             //如果指定用户和类型,则统计变动金额
@@ -43,8 +42,6 @@ class Balance extends Controller
 
 
             $data['change_types'] = BalanceLogService::$RW;
-            $data['sql']        = $sql;
-
         } catch (ValidationException $e) {
             return $this->error(HttpStatus::CUSTOM_ERROR, $e->validator->errors()->first());
         } catch (Exception $e) {