6
0
Fork 0
release
panliang 2022-06-02 16:36:23 +08:00
parent e7e28adbfd
commit 276c431bba
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ class DistributeService
$level_up = $item;
}
}
if ($level_up) {
if ($level_up && $level_up->sort < $user_agent->sort) {
$user->update([
'agent_id' => $level_up->id,
]);