Browse Source

提现限制

Kirin 2 years ago
parent
commit
070bfcdb73
1 changed files with 4 additions and 1 deletions
  1. 4 1
      app/models/store/StoreCart.php

+ 4 - 1
app/models/store/StoreCart.php

@@ -208,8 +208,11 @@ class StoreCart extends BaseModel
             case 4:
                 $model = $model->where('c.is_integral', 1);
                 break;
+            case 5:
+                $model = $model->where('c.is_consumer', 1);
+                break;
             default:
-                $model = $model->where('c.is_suit', 0)->where('c.store_bag', 0)->where('c.is_bind', 0)->where('c.is_integral', 0);
+                $model = $model->where('c.is_suit', 0)->where('c.is_consumer', 0)->where('c.store_bag', 0)->where('c.is_bind', 0)->where('c.is_integral', 0);
                 break;
         }
         $model = $model->order('c.add_time DESC');