作者 刘锟

update

@@ -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();