|
@@ -2046,7 +2046,7 @@ class User extends Api
|
|
|
$data['gender'] = $user['gender']; //性别:1=男,2=女
|
|
|
$data['birthday'] = date('Y-m-d', $user['birthday']); //生日
|
|
|
//查询vip是否到期
|
|
|
- $url = 'http:// 183.207.215.112:8090/HDC/bizauth/phone/auth';
|
|
|
+ $url = 'http://183.207.215.112:8090/HDC/bizauth/phone/auth';
|
|
|
$post_data = [
|
|
|
'phoneNumber' => $this->auth->mobile,
|
|
|
'productCodes' => [config('product_code')],
|
|
@@ -2055,7 +2055,7 @@ class User extends Api
|
|
|
$post_data = json_encode($post_data, 320);
|
|
|
|
|
|
//获取鉴权token
|
|
|
- $sign_bytes = '/3.0/hop/svc/pay/toPay.ajax' . $this->base16_encode(md5($post_data));
|
|
|
+ $sign_bytes = '/bizauth/phone/auth' . $this->base16_encode(md5($post_data));
|
|
|
$hdc_token = base64_encode(hash_hmac('sha256', $sign_bytes, config('pay_appkey'), true));
|
|
|
$header = [
|
|
|
'Host:112.4.10.122:8090',
|