正在显示
1 个修改的文件
包含
2 行增加
和
1 行删除
| @@ -116,7 +116,8 @@ function httpPost($url, $data, $header = [],$is_json = true) | @@ -116,7 +116,8 @@ function httpPost($url, $data, $header = [],$is_json = true) | ||
| 116 | $header = array( | 116 | $header = array( |
| 117 | "Accept: application/json", | 117 | "Accept: application/json", |
| 118 | "Content-Type:application/json;charset=utf-8", | 118 | "Content-Type:application/json;charset=utf-8", |
| 119 | - "Token:".env("WEB_SITE_TOKEN") | 119 | + "token:".env("SECRET_TOKEN"), |
| 120 | + "pid:".env("MERCHANT_NUMBER") | ||
| 120 | ); | 121 | ); |
| 121 | } | 122 | } |
| 122 | $ch = curl_init(); | 123 | $ch = curl_init(); |
-
请 注册 或 登录 后发表评论