wugg 8 months ago
parent
commit
c858120d4e
2 changed files with 1 additions and 2 deletions
  1. 0 1
      app/admin/controller/Brand.php
  2. 1 1
      app/admin/model/UserRole.php

+ 0 - 1
app/admin/controller/Brand.php

@@ -6,7 +6,6 @@ namespace app\admin\controller;
 
 use app\user\model\AccountItem;use think\App;use think\facade\Validate;
 class Brand extends Base{
-    protected $noLogin=[];
     public function __construct(App $app) {
         parent::__construct($app);
         $this->model=new \app\admin\model\Brand();

+ 1 - 1
app/admin/model/UserRole.php

@@ -17,7 +17,7 @@ class UserRole extends Model
 	        'uid' => $uid,
 	        'companyNo' => $companyNo,
 	        'is_del' => 0])
-	        ->value('role_id','');
+	        ->value('roleid','');
     }
 
     public function RoleInfo(){