|
|
@@ -55,6 +55,7 @@ class Controller extends \think\Controller
|
|
|
{
|
|
|
// 商家登录信息
|
|
|
$this->store = Session::get('yoshop_store');
|
|
|
+ $this->store = $this->store? $this->store : [];
|
|
|
// 当前路由信息
|
|
|
$this->getRouteinfo();
|
|
|
// 验证登录状态
|
|
|
@@ -147,7 +148,7 @@ class Controller extends \think\Controller
|
|
|
return true;
|
|
|
}
|
|
|
// 验证登录状态
|
|
|
- var_dump($this->store);
|
|
|
+
|
|
|
if (empty($this->store)
|
|
|
|| (int)$this->store['is_login'] !== 1
|
|
|
|| !isset($this->store['wxapp'])
|