master
ELF 4 years ago
parent 2ae89b9edb
commit d33bb3f3f8

@ -12,7 +12,8 @@ class PromoteGradeController extends BaseController
protected function _initialize()
{
C(api('Config/lists'));
if((C('APP_ENV') == 'dev' || $loginer['company_id'] == 334) && $loginer['level'] <= 2) {
$loginPromote = $this->getLoginPromote();
if((C('APP_ENV') == 'dev' || $loginPromote['company_id'] == 334) && $loginPromote['level'] <= 2) {
} else {
return $this->error('您没有权限');

Loading…
Cancel
Save