更新调用短信接口

dev
曾超新 5 years ago
parent 32f36864c4
commit dc4766eb47
  1. 4
      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);

Loading…
Cancel
Save