63 lines
1.1 KiB
PHP
63 lines
1.1 KiB
PHP
<?php
|
||
/**
|
||
* Tiffany SMS API重构-接口类
|
||
* @author QZQ
|
||
*/
|
||
header("Content-Type:text/html; Charset=utf-8");
|
||
|
||
class SmsController extends ControllerBase{
|
||
|
||
function initialize(){
|
||
parent::initialize();
|
||
}
|
||
|
||
/**
|
||
* 获取code(Get code)
|
||
* http://127.0.0.1/tiffany/api/sms/code?qaz=wsx
|
||
*/
|
||
function codeAction(){
|
||
|
||
}
|
||
|
||
/**
|
||
* 根据code获取access_token(Get access token by code)
|
||
* http://127.0.0.1/tiffany/api/sms/accesstoken?qaz=wsx
|
||
*/
|
||
function accesstokenAction(){
|
||
|
||
}
|
||
|
||
/**
|
||
* 发送短信(Send SMS)
|
||
* http://127.0.0.1/tiffany/api/sms/send?qaz=wsx
|
||
*/
|
||
function sendAction(){
|
||
|
||
}
|
||
|
||
/**
|
||
* 获取手机验证码(Get mobile verification)
|
||
* http://127.0.0.1/tiffany/api/sms/authcode?qaz=wsx
|
||
*/
|
||
function authcodeAction(){
|
||
|
||
}
|
||
|
||
/**
|
||
* 批量查询最新短信发送结果(Batch query for the latest SMS sending result)
|
||
* http://127.0.0.1/tiffany/api/sms/query_reports?qaz=wsx
|
||
*/
|
||
function queryReportsAction(){
|
||
|
||
}
|
||
|
||
/**
|
||
* 长链转短链(Long URL shortening)
|
||
* http://127.0.0.1/tiffany/api/sms/query_reports?qaz=wsx
|
||
*/
|
||
function shorturlAction(){
|
||
|
||
}
|
||
|
||
}
|
||
?>
|