mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
Update UserUpgradeService.php
This commit is contained in:
parent
d555b92524
commit
8ad025bb2c
@ -99,7 +99,7 @@ class UserUpgradeService extends Service
|
||||
if ($user['vip_code'] < $vipCode) $this->app->event->trigger('UserUpgradeLevel', [
|
||||
'uid' => $user['id'], 'order_no' => $orderNo, 'vip_code_old' => $user['vip_code'], 'vip_code_new' => $vipCode,
|
||||
]);
|
||||
return ($parent && $user['pid2'] > 0) ? $this->upgrade($user['pid2'], false) : true;
|
||||
return ($parent && $user['pid1'] > 0) ? $this->upgrade($user['pid1'], false) : true;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user