Browse Source

Merge branch 'master' into dev

gorden 4 tháng trước cách đây
mục cha
commit
2606f2c306
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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);