|
|
|
@ -79,11 +79,6 @@ class AuthController extends WapBasic |
|
|
|
|
$this->subjectUrl = getUrlToDomain(); |
|
|
|
|
$this->site_url = $site_url; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if ($isNextVersion) { |
|
|
|
|
$jwtService = new JwtService(); |
|
|
|
|
try { |
|
|
|
@ -106,6 +101,7 @@ class AuthController extends WapBasic |
|
|
|
|
$this->uid = $this->userInfo['uid']; |
|
|
|
|
$this->phone = User::getLogPhone($uid); |
|
|
|
|
//绑定推广人 |
|
|
|
|
|
|
|
|
|
if ($spread_uid && $spreadUserInfo && $this->uid != $spread_uid && $spreadUserInfo['spread_uid'] != $this->uid && $this->userInfo['spread_uid'] != $spread_uid && !$this->userInfo['spread_uid']) { |
|
|
|
|
$storeBrokerageStatu = SystemConfigService::get('store_brokerage_statu') ?: 1; //获取后台分销类型 |
|
|
|
|
if ($storeBrokerageStatu == 1) { |
|
|
|
@ -193,7 +189,9 @@ class AuthController extends WapBasic |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
$institutionInfo = InstitutionAdmin::where('uid',$this->userInfo['uid'])->value('mer_id'); |
|
|
|
|
|
|
|
|
|
$institution = Lecturer::where(array('agent'=>$institutionInfo,'is_del' => 0))->select()->toArray(); |
|
|
|
|
$institution_exp = implode(',',array_column($institution,'mer_id')); |
|
|
|
|
$this->institution = $institution_exp ? $institution_exp . ',' .$institutionInfo : $institutionInfo; |
|
|
|
|