123456789101112131415161718192021222324 |
- <?php
- # 注册api,这里是为了安全考虑,否则可以不用在此注册,注册之后
- # api仅有三种类型:get、update、delete
- return array
- (
- 'api.send' => array
- (
- 'name' => '发送短信',
- 'request' => array
- (
- 'sid' => '临时id',
- 'skin' => '模板',
- ),
- 'response' => array
- (
- 'info' => '响应信息',
- ),
- 'order' => 100,
- 'type' => 2,
- # 安全加密
- 'secure' => true,
- ),
- );
|