Commit 1a3f02ec authored by jianghaiming's avatar jianghaiming

update:set

parent 357b9734
<?php <?php
namespace Helpers; namespace Helpers;
use Api\PhpUtils\Log\FileLog;
trait ApiResponse trait ApiResponse
{ {
...@@ -83,6 +83,7 @@ trait ApiResponse ...@@ -83,6 +83,7 @@ trait ApiResponse
} }
} }
$data = array_merge($resp, $data); $data = array_merge($resp, $data);
FileLog::info("goods_response_data", print_r($data, 1));//测试使用
$response->setBody(json_encode($data, JSON_UNESCAPED_UNICODE)); $response->setBody(json_encode($data, JSON_UNESCAPED_UNICODE));
$response->response(); $response->response();
if (function_exists('fastcgi_finish_request')) { if (function_exists('fastcgi_finish_request')) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment