Browse Source

完善查询我的信息

15954078560 2 years ago
parent
commit
1f594c22b7
1 changed files with 2 additions and 2 deletions
  1. 2 2
      application/api/controller/User.php

+ 2 - 2
application/api/controller/User.php

@@ -2049,7 +2049,7 @@ class User extends Api
         //查询vip是否到期
         //查询vip是否到期
         $url = 'http://10.12.5.61:8070/HDC/bizauth/phone/auth';
         $url = 'http://10.12.5.61:8070/HDC/bizauth/phone/auth';
         $post_data = [
         $post_data = [
-            'phoneNumber' => $this->auth->mobile,
+            'phoneNumber' => '13811112261',
             'productCodes' => [config('product_code')],
             'productCodes' => [config('product_code')],
             'channel' => '01'
             'channel' => '01'
         ];
         ];
@@ -2066,7 +2066,7 @@ class User extends Api
             'HDC-Token:' . $hdc_token,
             'HDC-Token:' . $hdc_token,
             'Content-Type:application/json'
             'Content-Type:application/json'
         ];
         ];
-        $rs = httpRequest($url, 'POST', $post_data, $header);
+        $rs = httpRequest($url, 'POST', $post_data, $header);//p($sign_bytes);p($post_data);p($header);var_dump($rs);die;
         if (!$rs) {
         if (!$rs) {
             $data['is_vip'] = 0;
             $data['is_vip'] = 0;
         } else {
         } else {