去掉调试

dev
曾超新 5 years ago
parent 794768aa38
commit f5d385b65b
  1. 3
      frontend/controllers/CarController.php

@ -4544,7 +4544,7 @@ class CarController extends BaseController
$MessageContent = str_replace("\t","",$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'; $url = 'https://www.banmacar.com/api/single-send';
$params['token'] = '84c5722fd1455582c53b7195ccef44c2'; $params['token'] = '84c5722fd1455582c53b7195ccef44c2';
$params['mobile'] = $UserNumber; $params['mobile'] = $UserNumber;
$params['content'] = $MessageContent; $params['content'] = $MessageContent;
@ -4553,7 +4553,6 @@ class CarController extends BaseController
$msg = MyLib::Post($post_url,$url); $msg = MyLib::Post($post_url,$url);
// $msg = mb_convert_encoding($msg,'UTF8','GBK'); // $msg = mb_convert_encoding($msg,'UTF8','GBK');
// parse_str($msg,$obj); // parse_str($msg,$obj);
echo $msg;exit;
$obj = json_decode($msg,true); $obj = json_decode($msg,true);
$result = array(); $result = array();
// $result['success'] = true; // $result['success'] = true;

Loading…
Cancel
Save