Browse Source

充值验证

gorden 4 months ago
parent
commit
0040922223
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/admin/controller/notify/RechargeController.php

+ 1 - 1
app/admin/controller/notify/RechargeController.php

@@ -139,7 +139,7 @@ class RechargeController
             $memberAccount->member_account_income = $income;
             $memberAccount->member_account_surplus = $memberAccount->member_account_surplus + $payAmount;
             $memberAccount->save();
-            if (!empty($goodsAttributeJson) && $addedNbr > 0){
+            if (!empty($goodsAttributeJson)){
                 // 根据最新的数据,更新用户等级
                 RechargeService::disposeRole($payDetail->join_pay_member_id, $payDetail->pay_amount);