|
@@ -602,6 +602,7 @@ class CoflController extends Controller
|
|
$link = $this->getLink($distribution_channel_id);
|
|
$link = $this->getLink($distribution_channel_id);
|
|
$crm = $request->get('crm','guide_personal');
|
|
$crm = $request->get('crm','guide_personal');
|
|
$params['crm'] = $crm;
|
|
$params['crm'] = $crm;
|
|
|
|
+ $params['uid'] = $uid;
|
|
$link = $link.'guidestrem?'.http_build_query($params);
|
|
$link = $link.'guidestrem?'.http_build_query($params);
|
|
$this->stats('index',$crm);
|
|
$this->stats('index',$crm);
|
|
$this->statsDetail($uid,'guidePersonal',0);
|
|
$this->statsDetail($uid,'guidePersonal',0);
|
|
@@ -609,9 +610,9 @@ class CoflController extends Controller
|
|
}
|
|
}
|
|
|
|
|
|
public function guidePersonalAccount(Request $request,$channel_id){
|
|
public function guidePersonalAccount(Request $request,$channel_id){
|
|
- //$uid = $request->get('uid',0);
|
|
|
|
- $user_cookie = Cookie::get(env('COOKIE_AUTH_WEB_WECHAT'));
|
|
|
|
- $uid = $user_cookie ? decrypt($user_cookie) : null;
|
|
|
|
|
|
+ $uid = $request->get('uid',0);
|
|
|
|
+ //$user_cookie = Cookie::get(env('COOKIE_AUTH_WEB_WECHAT'));
|
|
|
|
+ //$uid = $user_cookie ? decrypt($user_cookie) : null;
|
|
$env_config = redisEnvMulti('ACTIVE_GUIDE_PERSONAL_ACCOUNT_OURS_QRCODE',
|
|
$env_config = redisEnvMulti('ACTIVE_GUIDE_PERSONAL_ACCOUNT_OURS_QRCODE',
|
|
'ACTIVE_GUIDE_PERSONAL_ACCOUNT_MAX_UV','ACTIVE_GUIDE_PERSONAL_ACCOUNT_ID',
|
|
'ACTIVE_GUIDE_PERSONAL_ACCOUNT_MAX_UV','ACTIVE_GUIDE_PERSONAL_ACCOUNT_ID',
|
|
'ACTIVE_GUIDE_PERSONAL_ACCOUNT_MAX_EVERY_UV');
|
|
'ACTIVE_GUIDE_PERSONAL_ACCOUNT_MAX_EVERY_UV');
|