From dc4766eb474148a7d96103992ec2dd3b287e3dc0 Mon Sep 17 00:00:00 2001 From: zengchaoxin Date: Fri, 18 Oct 2019 02:36:51 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E8=B0=83=E7=94=A8=E7=9F=AD?= =?UTF-8?q?=E4=BF=A1=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/controllers/CarController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/controllers/CarController.php b/frontend/controllers/CarController.php index 545f1b9..f0b78ab 100644 --- a/frontend/controllers/CarController.php +++ b/frontend/controllers/CarController.php @@ -4543,11 +4543,11 @@ class CarController extends BaseController $MessageContent = str_replace("\f","",$MessageContent); $MessageContent = str_replace("\t","",$MessageContent); - $url = 'https://sms.yunpian.com/v2/sms/single_send.json'; + //$url = 'https://sms.yunpian.com/v2/sms/single_send.json'; $url = 'https://www.banmacar.com/api/single_send'; $params['token'] = '84c5722fd1455582c53b7195ccef44c2'; $params['mobile'] = $UserNumber; - $params['text'] = $MessageContent; + $params['content'] = $MessageContent; $post_url = http_build_query($params); $msg = MyLib::Post($post_url,$url);