Browse Source

提现限制

Kirin 1 năm trước cách đây
mục cha
commit
2703c51135
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      app/admin/model/user/User.php

+ 1 - 1
app/admin/model/user/User.php

@@ -156,7 +156,7 @@ class User extends BaseModel
                     ->where('uid', $item['uid'])
                     ->where('refund_status', 0)
                     ->where('is_del', 0)
-                    ->where('is_system_del', 0)->select();
+                    ->where('is_system_del', 0)->field('id,cart_id')->select();
                 $carts = [];
                 foreach ($orders as $v) {
                     $carts = array_merge($carts, $v['cart_id']);