Home >php教程 >php手册 >阿里大鱼短信类库扩展

阿里大鱼短信类库扩展

WBOY
WBOYOriginal
2016-06-07 11:34:401062browse

阿里大鱼短信类库扩展
阿里大鱼短信接口
将文件解压到ThinkPHP/Extend/Library/ORG
调用代码      import('ORG.Sms.Alidayu');<br>       $ob = new Alidayu();<br>       $re = $ob -> getSms('13568369572',  "{'customer':'" . $verify . "'}");配置文件:    /* 阿里大鱼短信参数设置 */<br>     'Alidayu'                                => array(<br>         'APP_KEY'                            => 'test',<br>         'APP_SECRET'                    => 'test',<br>         'method'                            => 'alibaba.aliqin.fc.sms.num.send', // 短信模块<br>         'format'                             => 'json', // 返回格式xml/json<br>         'sms_template_code'     => '短信模板',<br>     ),

附件 Sms.zip ( 1.49 KB 下载:79 次 )

AD:真正免费,域名+虚机+企业邮箱=0元

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn