Browse Source

pc权限测试

lizhen_gitee 5 months ago
parent
commit
164e70e5e8

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

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

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

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

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

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

+ 1 - 0
application/company/controller/Index.php

@@ -184,6 +184,7 @@ class Index extends Apic
         $this->success(__('success'),$info);
     }
 
+    ///////////////////////////下面没用到////////////////////////////////
     //用户申请资料
     public function getUserapplyinfo(){
         $field = [

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

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

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

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

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

@@ -11,7 +11,7 @@ use fast\Tree;
 class Jishuguifan extends Apic
 {
     protected $noNeedLogin = [];
-    protected $noNeedRight = [];
+    protected $noNeedRight = ['info'];
 
     protected $table = 'jishuguifan';
    

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

@@ -11,7 +11,7 @@ use app\common\model\Maintain as Maintainmodel;
 class Maintain extends Apic
 {
     protected $noNeedLogin = [];
-    protected $noNeedRight = ['index'];
+    protected $noNeedRight = ['index','info'];
 
     protected $table = 'maintain';
 

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

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

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

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

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

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