6
0
Fork 0

修复经销商升级二级签约

release
李静 2022-01-25 14:19:17 +08:00
parent 1bf1873f65
commit 87ed88085e
1 changed files with 1 additions and 1 deletions

View File

@ -269,7 +269,7 @@ class Dealer extends Model
{
return static::whereHas('userInfo', function ($query) {
$query->where('inviter_id', $this->user_id);
})->where('lvl', '>=', DealerLvl::Special)->count();
})->where('lvl', '>=', DealerLvl::Secondary)->count();
}
/**