|
@@ -1129,6 +1129,9 @@ class ReadOauth
|
|
|
$ip = get_client_ip();
|
|
|
}
|
|
|
$params['ip'] = $ip;
|
|
|
+ if(isset($params['auth_uid'])) unset($params['auth_uid']);
|
|
|
+ if(isset($params['atime'])) unset($params['atime']);
|
|
|
+ if(isset($params['sign'])) unset($params['sign']);
|
|
|
$url = str_replace('http://', $h5_scheme . '://', url()->current() . '?' . http_build_query($params));
|
|
|
unset($params['ip']);
|
|
|
$params['redirect_url'] = urlencode($url);
|
|
@@ -1136,9 +1139,7 @@ class ReadOauth
|
|
|
$params['channel_id'] = $distribution_channel_id;
|
|
|
$params['sid'] = $send_order_id;
|
|
|
$params['sign'] = $this->getSign($params, env('OAUTH_KEY'));
|
|
|
- if(isset($params['auth_uid'])) unset($params['auth_uid']);
|
|
|
- if(isset($params['atime'])) unset($params['atime']);
|
|
|
- if(isset($params['sign'])) unset($params['sign']);
|
|
|
+
|
|
|
//新的授权
|
|
|
$auth_redirect_one_appids = specialChannelAuthInfoV2();
|
|
|
$auth_redirect_two_appids = specialChannelAuthInfo();
|