|
|
@@ -13,7 +13,7 @@ use yii\web\Controller;
|
|
|
class BaseController extends PublicController
|
|
|
{
|
|
|
|
|
|
- public $staff, $staffId, $userId, $user,$merchantId;
|
|
|
+ public $staff, $staffId, $userId, $user, $merchantId;
|
|
|
public $isLogin = false;
|
|
|
public $withoutLogin = [];//不需要登陆的方法名
|
|
|
public $validate = true;
|
|
|
@@ -35,7 +35,6 @@ class BaseController extends PublicController
|
|
|
if ($this->validate == false) {
|
|
|
util::notLogin();
|
|
|
}
|
|
|
-
|
|
|
$this->staff = $staff;
|
|
|
$this->staffId = $staffId;
|
|
|
$this->user = $staff;
|
|
|
@@ -43,5 +42,5 @@ class BaseController extends PublicController
|
|
|
$this->merchantId = 12359;
|
|
|
return parent::beforeAction($action);
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
}
|