|
|
@@ -13,8 +13,8 @@ use think\Request;
|
|
13
|
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
|
18
|
private const GATEWAY_URL = "http://localhost:9002";
|
|
19
|
19
|
|
|
20
|
20
|
public function getUserPoints()
|
|
|
@@ -29,6 +29,7 @@ class Taskorderlianc
|
|
29
|
29
|
"X-SIGNATURE: " . $signature,
|
|
30
|
30
|
"Content-Type: application/json"
|
|
31
|
31
|
];
|
|
|
32
|
+ return json($headers);
|
|
32
|
33
|
// 请求的 POST 数据(例如用户信息)
|
|
33
|
34
|
// $postData = [
|
|
34
|
35
|
// 'pm' => 1,
|