From 280b08bcbbcad0d41a4d95c2cf2bf9709697b231 Mon Sep 17 00:00:00 2001 From: yaooo <272523191@qq.com> Date: Wed, 13 Sep 2023 14:50:33 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E5=95=86=E6=88=B7=E5=AE=A1?= =?UTF-8?q?=E6=A0=B8=E5=8F=91=E5=B8=83=E7=94=B3=E8=AF=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controller/api/store/merchant/MerchantIntention.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/controller/api/store/merchant/MerchantIntention.php b/app/controller/api/store/merchant/MerchantIntention.php index 952388e6..4fe0bdc0 100644 --- a/app/controller/api/store/merchant/MerchantIntention.php +++ b/app/controller/api/store/merchant/MerchantIntention.php @@ -106,12 +106,12 @@ class MerchantIntention extends BaseController curl_setopt($ch, CURLOPT_HEADER, 0); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_POST, 1); - curl_setopt($ch, CURLOPT_POSTFIELDS, $curlPost); - $data = curl_exec($ch); + curl_setopt($ch, CURLOPT_POSTFIELDS, $data); + $resData = curl_exec($ch); curl_close($ch); $ok = false; - if (!empty($data) && is_string($data)) { - Log::info("商户入驻申请反馈信息" . json_encode($data)); + if (!empty($resData) && is_string($resData)) { + Log::info("商户入驻申请反馈信息" . $resData); } return $ok; }