mirror of
https://gitee.com/koogua/course-tencent-cloud.git
synced 2025-07-03 23:46:49 +08:00
优化PC页面到手机的自动跳转,修复管理后台若干问题
This commit is contained in:
parent
f9f1d1129a
commit
238e49633b
@ -53,7 +53,7 @@ class Controller extends \Phalcon\Mvc\Controller
|
|||||||
/**
|
/**
|
||||||
* demo分支拒绝数据提交,100001帐号除外
|
* demo分支拒绝数据提交,100001帐号除外
|
||||||
*/
|
*/
|
||||||
if ($this->isNotSafeRequest() && $this->authInfo['id'] != 100001) {
|
if ($this->isNotSafeRequest() && $this->authUser->id != 100001) {
|
||||||
$dispatcher->forward([
|
$dispatcher->forward([
|
||||||
'controller' => 'public',
|
'controller' => 'public',
|
||||||
'action' => 'forbidden',
|
'action' => 'forbidden',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user