Browse Source

会员升级

Kirin 7 months ago
parent
commit
b507e1ff3e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/model/user/AwardIntegral.php

+ 1 - 1
app/model/user/AwardIntegral.php

@@ -107,7 +107,7 @@ class AwardIntegral extends BaseModel
     public function searchValidAttr($query, $value)
     {
         if ($value == 1) {
-            $query->where('status', 0)->where('sent_num<num')->whereOr('order_price', '>=', 2000);
+            $query->where('status', 0)->where('sent_num<num')->where('order_price', '>=', 2000);
         } else if ($value == 2) {
             $query->where(function ($query) {
                 $query->where('status', 1)->whereOr('sent_num>=num');