修改bug

master
ELF 4 years ago
parent 546d83f4a3
commit c127ea6139

@ -72,7 +72,7 @@ class CompanyGameRatioController extends AdminController
if($isMarketAdmin) {
$userAuth = session('user_auth');
$adminId = $userAuth['uid'];
$companyIds = M('promote', 'tab_')->where(['amdin_id' => $adminId, 'level' => 1])->getField('company_id', true);
$companyIds = M('promote', 'tab_')->where(['admin_id' => $adminId, 'level' => 1])->getField('company_id', true);
$companyIds = array_unique($companyIds);
$marketCondition = '';
if (count($companyIds) > 0) {

Loading…
Cancel
Save