master
ELF 4 years ago
parent d33bb3f3f8
commit 8d1a58d583

@ -11,7 +11,8 @@ class PromoteGradeController extends BaseController
{ {
protected function _initialize() protected function _initialize()
{ {
C(api('Config/lists')); parent::_initialize();
$loginPromote = $this->getLoginPromote(); $loginPromote = $this->getLoginPromote();
if((C('APP_ENV') == 'dev' || $loginPromote['company_id'] == 334) && $loginPromote['level'] <= 2) { if((C('APP_ENV') == 'dev' || $loginPromote['company_id'] == 334) && $loginPromote['level'] <= 2) {

Loading…
Cancel
Save