当前位置: 代码迷 >> 综合 >> 阿里云的短信发送
  详细解决方案

阿里云的短信发送

热度:70   发布时间:2024-03-07 20:25:43.0

短信发送的方法:

require_once (ROOT_PATH . 'sms/SignatureHelper.php');

header("Content-type:text/html; charset=UTF-8");

/**

 * 发送短信

 * mobile   手机号码

 * TemplateParam    参数数组

 * TemplateCode     模版CODE

 */

function sendSMS_aliyun($mobile$TemplateParam array(),$TemplateCode 'SMS_142147715') {

    $params array ();

    // *** 需用户填写部分 ***

    // fixme 必填: 请参阅 

  相关解决方案