浏览代码

完善查询我的信息

15954078560 2 年之前
父节点
当前提交
1f594c22b7
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      application/api/controller/User.php

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

@@ -2049,7 +2049,7 @@ class User extends Api
         //查询vip是否到期
         $url = 'http://10.12.5.61:8070/HDC/bizauth/phone/auth';
         $post_data = [
-            'phoneNumber' => $this->auth->mobile,
+            'phoneNumber' => '13811112261',
             'productCodes' => [config('product_code')],
             'channel' => '01'
         ];
@@ -2066,7 +2066,7 @@ class User extends Api
             'HDC-Token:' . $hdc_token,
             '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) {
             $data['is_vip'] = 0;
         } else {