|
@@ -751,7 +751,7 @@ class ReadOauth
|
|
|
$params['redirect_url'] = urlencode($h5_scheme . '://' . $domain . '/oauthCallBack');
|
|
|
|
|
|
$params['timestamp'] = time();
|
|
|
- $info = specialChannelAuthInfoV2();
|
|
|
+ $info = specialChannelAuthInfoV2($channel_id);
|
|
|
if ($info && isset($info[$channel_id]) && !empty($info[$channel_id])) {
|
|
|
$appid = $info[$channel_id];
|
|
|
}
|
|
@@ -1148,7 +1148,7 @@ class ReadOauth
|
|
|
$params['sign'] = $this->getSign($params, env('OAUTH_KEY'));
|
|
|
|
|
|
//新的授权
|
|
|
- $auth_redirect_one_appids = specialChannelAuthInfoV2();
|
|
|
+ $auth_redirect_one_appids = specialChannelAuthInfoV2($distribution_channel_id);
|
|
|
$auth_redirect_two_appids = specialChannelAuthInfo();
|
|
|
if($auth_redirect_one_appids && isset($auth_redirect_one_appids[$distribution_channel_id])){
|
|
|
//授权一次
|