Package Data | |
---|---|
Maintainer Username: | zhangkexiang |
Maintainer Contact: | zhangkexiang@qingdao1024.com (coding) |
Package Create Date: | 2016-12-30 |
Package Last Update: | 2017-01-05 |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-11-15 15:24:33 |
Package Statistics | |
---|---|
Total Downloads: | 14 |
Monthly Downloads: | 0 |
Daily Downloads: | 0 |
Total Stars: | 0 |
Total Watchers: | 0 |
Total Forks: | 0 |
Total Open Issues: | 0 |
#union-sms
使用示例:
配置:
return [
'sdk'=>[
'sms'=>[
'captcha'=>[
'regionId'=>'--------',
'accessKeyId'=>'--------',
'accessSecret'=>'--------',
'signname'=>'--------',
'templatecode'=>'--------'
]
]
]
];
调用:
use Union\Sdk\Sms\SmsEntrance;
// 配置的 captcha 可以区分 验证码 消息短信 提醒短信 区分模版用
SmsEntrance::send('captcha',"11111111","{\"ma\":\"111111\"}");