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; }