|
@@ -133,13 +133,16 @@ class RechargeController
|
|
|
$memberAccount->save();
|
|
|
|
|
|
// 根据最新的数据,更新用户等级
|
|
|
- $member = Member::find($payDetail->join_pay_member_id);
|
|
|
- $roleId = RechargeService::disposeRole($payDetail->join_pay_member_id, $payDetail->pay_amount);
|
|
|
- if ($roleId && $member->join_member_role_id != $roleId) {
|
|
|
- $member->join_member_role_id = $roleId;
|
|
|
- $member->save();
|
|
|
- // 处理增值套包、组件
|
|
|
- RechargeService::disposeAdded($roleId, $payDetail->join_pay_member_id);
|
|
|
+ // 临时屏蔽该会员升级
|
|
|
+ if (!in_array($payDetail->join_pay_member_id,['MR2409132254Z9VW'])) {
|
|
|
+ $member = Member::find($payDetail->join_pay_member_id);
|
|
|
+ $roleId = RechargeService::disposeRole($payDetail->join_pay_member_id, $payDetail->pay_amount);
|
|
|
+ if ($roleId && $member->join_member_role_id != $roleId) {
|
|
|
+ $member->join_member_role_id = $roleId;
|
|
|
+ $member->save();
|
|
|
+ // 处理增值套包、组件
|
|
|
+ RechargeService::disposeAdded($roleId, $payDetail->join_pay_member_id);
|
|
|
+ }
|
|
|
}
|
|
|
Db::commit();
|
|
|
|