|
@@ -31,17 +31,6 @@ class Index {
|
|
header("Location:".CommonService::getAuthUrl($channelId));
|
|
header("Location:".CommonService::getAuthUrl($channelId));
|
|
die();
|
|
die();
|
|
}
|
|
}
|
|
-// $model = new VisitorModel();
|
|
|
|
-// $visitorInfo = $model::where(['unionid' => Session::get('wxId')])->find();
|
|
|
|
-
|
|
|
|
-// if (empty($visitorInfo)) {
|
|
|
|
-// $model->insertGetId([
|
|
|
|
-// 'visitorId' => $visitorId,
|
|
|
|
-// 'unionid' => Session::get('wxId'),
|
|
|
|
-// ]);
|
|
|
|
-// } else {
|
|
|
|
-// $visitorId = $visitorInfo['visitorId'];
|
|
|
|
-// }
|
|
|
|
$params = [
|
|
$params = [
|
|
'id' => $info['channel_id'],
|
|
'id' => $info['channel_id'],
|
|
'userid' => $info['unionid'],
|
|
'userid' => $info['unionid'],
|
|
@@ -49,7 +38,7 @@ class Index {
|
|
'avatar' => $info['avatar'],
|
|
'avatar' => $info['avatar'],
|
|
'key' => $info['key']
|
|
'key' => $info['key']
|
|
];
|
|
];
|
|
- header('Location:http://mudu.tv/activity.php?a=userAssign&'.http_build_query($params));
|
|
|
|
|
|
+ header('Location:http://webcasting.bizconfstreaming.com/activity.php?a=userAssign&'.http_build_query($params));
|
|
die();
|
|
die();
|
|
//增加客户自己的验证逻辑,例如登录,关注,付费,填手机号等
|
|
//增加客户自己的验证逻辑,例如登录,关注,付费,填手机号等
|
|
$key = md5($visitorId.$data['channel_auth_code']);
|
|
$key = md5($visitorId.$data['channel_auth_code']);
|