|
|
|
@ -1057,7 +1057,7 @@ class PromoteController extends BaseController
|
|
|
|
|
$loginer = $this->getLoginPromote();
|
|
|
|
|
$promotes = null;
|
|
|
|
|
$promoteColumns = ['id', 'account', 'real_name'];
|
|
|
|
|
$promoteMap = ['chain' => ['like', $loginer['chain'] . $loginer['level'] . '/' . '%']];
|
|
|
|
|
$promoteMap = ['chain' => ['like', $loginer['chain'] . $loginer['id'] . '/' . '%']];
|
|
|
|
|
if ($loginer['level'] == 1) {
|
|
|
|
|
if ($promoteType == 1) {
|
|
|
|
|
$promoteMap['level'] = 2;
|
|
|
|
|