Merge branch 'feature/promote_level_sys' of wmtx/platform into release

修改bug
master
万盟天下 4 years ago committed by Gogs
commit 8ff86a8082

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