|
@@ -155,12 +155,10 @@ function json_success($message, $data = '', $options = JSON_UNESCAPED_UNICODE)
|
|
|
'data' => $data,
|
|
|
];
|
|
|
|
|
|
- dump(new Response(200, ['Content-Type' => 'application/json'], json_encode($return, $options,4096)));
|
|
|
-
|
|
|
\support\Log::info("返回数据打包完成");
|
|
|
|
|
|
|
|
|
- return new Response(200, ['Content-Type' => 'application/json'], json_encode($return, $options));
|
|
|
+ return new Response(200, ['Content-Type' => 'application/json'], json_encode($return, $options,4096));
|
|
|
}
|
|
|
|
|
|
function json_fail($message, $options = JSON_UNESCAPED_UNICODE)
|