tp3.2(阿里大鱼) 短信验证

1、在阿里大鱼官方下载 SDK文件     2、发送短信函数   function sendTemplateSMS($to, $type, $content) { vendor("alidayu.TopSdk"); // 这是载入阿里大鱼SDK $c = new \TopClient(); $c->appkey = 'xxxx';   $c->secretKey = 'xxxxxx'; $req
相关文章
相关标签/搜索