tp3.2(阿里大魚) 短信驗證

1、在阿里大魚官方下載 SDK文件     2、發送短信函數   function sendTemplateSMS($to, $type, $content) { vendor("alidayu.TopSdk"); // 這是載入阿里大魚SDK $c = new \TopClient(); $c->appkey = 'xxxx';   $c->secretKey = 'xxxxxx'; $req
相關文章
相關標籤/搜索