修改bug

master
ELF 5 years ago
parent 5b62b99765
commit 3abbe94774

@ -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;

Loading…
Cancel
Save