修改短信发送接口

dev
曾超新 5 years ago
parent 2302a4aab6
commit eacbcb6d44
  1. 3
      frontend/controllers/CarController.php

@ -4175,8 +4175,7 @@ class CarController extends BaseController
$MessageContent = str_replace("\f","",$MessageContent); $MessageContent = str_replace("\f","",$MessageContent);
$MessageContent = str_replace("\t","",$MessageContent); $MessageContent = str_replace("\t","",$MessageContent);
//$url = 'https://sms.yunpian.com/v2/sms/single_send.json'; $url = 'http://user.banmacar.com/api/sms/single-send';
$url = 'https://www.banmacar.com/api/single-send';
$params['token'] = 'ff7dc73536475c11981a1c52531f2ff7'; $params['token'] = 'ff7dc73536475c11981a1c52531f2ff7';
$params['mobile'] = $UserNumber; $params['mobile'] = $UserNumber;
$params['content'] = $MessageContent; $params['content'] = $MessageContent;

Loading…
Cancel
Save