This commit is contained in:
wucongxing 2023-03-14 15:58:18 +08:00
parent 2a4b4f41fa
commit df4e9c13d8

View File

@ -304,6 +304,7 @@ class CallBackController extends AbstractController
$server = $app->getServer(); $server = $app->getServer();
$message = $server->getRequestMessage(); $message = $server->getRequestMessage();
dump($message);
if (empty($message)){ if (empty($message)){
return $this->response->withStatus(500)->withBody(new SwooleStream(strval(json_encode(['code' => 'ERROR', 'message' => "药品微信支付回调数据为空"], JSON_UNESCAPED_UNICODE)))); return $this->response->withStatus(500)->withBody(new SwooleStream(strval(json_encode(['code' => 'ERROR', 'message' => "药品微信支付回调数据为空"], JSON_UNESCAPED_UNICODE))));
} }