sunxbiao пре 1 година
родитељ
комит
20fce17cab
1 измењених фајлова са 3 додато и 2 уклоњено
  1. 3 2
      app/controller/api/store/merchant/Taskorderlianc.php

+ 3 - 2
app/controller/api/store/merchant/Taskorderlianc.php

@@ -13,8 +13,8 @@ use think\Request;
13
 class Taskorderlianc
13
 class Taskorderlianc
14
 {
14
 {
15
 
15
 
16
-    private const API_KEY = "EXTERNAL_SYSTEM_B_KEY";
17
-    private const API_SECRET = "STRONG_SECRET_123456";
16
+    private const API_KEY = "HXJT_XFXD_B31_M_3279_Y_250707_01";
17
+    private const API_SECRET = '8f^ynijrE9Mc9Q5ez5e8$Tm&$6Xx!ycQ';
18
     private const GATEWAY_URL = "http://localhost:9002";
18
     private const GATEWAY_URL = "http://localhost:9002";
19
 
19
 
20
     public function getUserPoints()
20
     public function getUserPoints()
@@ -29,6 +29,7 @@ class Taskorderlianc
29
             "X-SIGNATURE: " . $signature,
29
             "X-SIGNATURE: " . $signature,
30
             "Content-Type: application/json"
30
             "Content-Type: application/json"
31
         ];
31
         ];
32
+        return json($headers);
32
         // 请求的 POST 数据(例如用户信息)
33
         // 请求的 POST 数据(例如用户信息)
33
 //        $postData = [
34
 //        $postData = [
34
 //            'pm' => 1,
35
 //            'pm' => 1,