From 5888a369b1ca6709c0e8e3cc67793d1fcb27400c Mon Sep 17 00:00:00 2001 From: gongfuxiang Date: Sat, 16 Apr 2022 15:23:59 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=AF=E4=BB=98=E6=97=A5=E5=BF=97=E8=AE=B0?= =?UTF-8?q?=E5=BD=95=EF=BC=8C=E8=BE=93=E5=85=A5=E5=8F=82=E6=95=B0=E4=BD=BF?= =?UTF-8?q?=E7=94=A8=E5=8E=9F=E5=A7=8B=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/service/PayRequestLogService.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/service/PayRequestLogService.php b/app/service/PayRequestLogService.php index 1e8f3bff9..e67626aa9 100644 --- a/app/service/PayRequestLogService.php +++ b/app/service/PayRequestLogService.php @@ -42,7 +42,11 @@ class PayRequestLogService $behavior_obj = new \base\Behavior(); // 输入参数 - $params = MyInput(); + $params = input(); + if(empty($params)) + { + $params = file_get_contents("php://input"); + } // 日志主数据 $data = [