|
|
@@ -16,13 +16,12 @@ class MemberController extends BaseController
|
|
|
public function __construct()
|
|
|
{
|
|
|
parent::__construct();
|
|
|
-
|
|
|
- $needRegProfile = session('needRegProfile');
|
|
|
$userStatus = isset($this->userInfo['user_status']) ? intval($this->userInfo['user_status']) : 0;
|
|
|
$agentType = isset($this->userInfo['agent_type']) ? intval($this->userInfo['agent_type']) : 0;
|
|
|
$agentStatus = isset($this->userInfo['agent_status']) ? intval($this->userInfo['agent_status']) : 0;
|
|
|
$needRegProfile = isset($this->userInfo['is_reg_profile'])? $this->userInfo['is_reg_profile'] : 0;
|
|
|
|
|
|
+ var_dump($this->userInfo);
|
|
|
if($agentType == 1 && $agentStatus != 3 && $needRegProfile != 1){
|
|
|
$url = url('/weixin/market/index', '', '', true);
|
|
|
header("location:{$url}");
|