wugg 5 mēneši atpakaļ
vecāks
revīzija
d9af04df68
2 mainītis faili ar 1 papildinājumiem un 2 dzēšanām
  1. 1 1
      app/cxinv/controller/Base.php
  2. 0 1
      app/cxinv/controller/Stage.php

+ 1 - 1
app/cxinv/controller/Base.php

@@ -37,7 +37,7 @@ class Base extends BaseController
    	  $this->roleid =1;
    	  if($User->level==2){
    	  	$this->roleid = \app\admin\model\UserRole::GetRoleIdByCompnyNoAndUid($reLaNo,$User->id);
-   	  	if($this->roleid==='') throw new \Exception( '没有该公司的角色','101');
+   	  	if($this->roleid==='') throw new \Exception( '没有该公司的角色',101);
    	   }
    }
 }

+ 0 - 1
app/cxinv/controller/Stage.php

@@ -14,7 +14,6 @@ use think\App;
 use think\facade\Validate;
 class Stage extends Base{
     public function __construct(App $app) {
-     //   $this->noLogin=["*"];
         parent::__construct($app);
         $this->model =new PayPayment();
     }