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