Ver Fonte

pc权限测试

lizhen_gitee há 6 meses atrás
pai
commit
063ce9a14c

+ 1 - 1
application/company/controller/Usercenter.php

@@ -10,7 +10,7 @@ use think\Db;
 class Usercenter extends Apic
 {
     protected $noNeedLogin = [''];
-    protected $noNeedRight = ['company_info'];
+    protected $noNeedRight = [''];
 
     //信息维护
     public function company_info(){

+ 1 - 1
application/company/controller/Usercompany.php

@@ -12,7 +12,7 @@ use think\Exception;
 class Usercompany extends Apic
 {
     protected $noNeedLogin = [];
-    protected $noNeedRight = ['selectpage'];
+    protected $noNeedRight = ['selectpage','info'];
 
     protected $table = 'user_company';
 

+ 1 - 1
application/company/controller/Wentihuizong.php

@@ -10,7 +10,7 @@ use think\Db;
 class Wentihuizong extends Apic
 {
     protected $noNeedLogin = [];
-    protected $noNeedRight = [];
+    protected $noNeedRight = ['info'];
 
     protected $table = 'wentihuizong';
 

+ 1 - 1
application/company/controller/Worker.php

@@ -11,7 +11,7 @@ use think\Db;
 class Worker extends Apic
 {
     protected $noNeedLogin = [];
-    protected $noNeedRight = [];
+    protected $noNeedRight = ['info'];
 
     protected $table = 'worker';
 

+ 1 - 1
application/company/controller/Zhengce.php

@@ -10,7 +10,7 @@ use think\Db;
 class Zhengce extends Apic
 {
     protected $noNeedLogin = [];
-    protected $noNeedRight = [];
+    protected $noNeedRight = ['info'];
 
     protected $table = 'zhengce';