Browse Source

会员升级

Kirin 9 months ago
parent
commit
40b21c3962
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/services/user/UserServices.php

+ 1 - 1
app/services/user/UserServices.php

@@ -2018,7 +2018,7 @@ class UserServices extends BaseServices
             return true;
         }
         if ($store_brokerage_statu == 3) {
-            if ($sumPrice) {
+            if (!$sumPrice) {
                 /** @var StoreOrderServices $storeOrder */
                 $storeOrder = app()->make(StoreOrderServices::class);
                 $sumPrice = $storeOrder->sum(['pid' => 0, 'uid' => $uid, 'paid' => 1, 'is_del' => 0, 'refund_status' => [0, 3]], 'pay_price');//累计消费