@@ -35,7 +35,6 @@ function run_fcgi()
if(file_exists($file))
{
if(pays_execute($file)) {
- echo("Content-Type: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8; charset=UTF-8\r\n\r\n");
include $file;
} else {
echo("Content-Type: text/html; charset=UTF-8\r\n\r\n");
@@ -15,6 +15,8 @@ $alipayNotify = new AlipayNotify($alipay_config);
$verify_result = $alipayNotify->verifyReturn();
Log::record("verify_result={$verify_result}, out_trade_no={$out_trade_no}", Log::DEBUG);
+echo("Content-Type: text/html; charset=UTF-8\r\n\r\n");
+
if ($verify_result) {
$trade_status = $_POST['trade_status'];
@@ -6,6 +6,8 @@
* Time: 上午10:22
*/
+echo("Content-Type: text/plain; charset=UTF-8\r\n\r\n");
try
//tid-订单号,status-1,consign_time-发货时间,logistics_no-快递流水,logistics_company-快递公司
@@ -47,6 +47,8 @@ if(empty($log)) {
//<transaction_id><![CDATA[1002150763201512142078937308]]></transaction_id>
//</xml>';
$content = $_POST['original_querystring'];//request_helper::content();