api/app/controllers/SmsController.php

63 lines
1.1 KiB
PHP
Raw Normal View History

2023-04-07 19:05:18 +08:00
<?php
/**
* Tiffany SMS API重构-接口类
* @author QZQ
*/
header("Content-Type:text/html; Charset=utf-8");
class SmsController extends ControllerBase{
function initialize(){
parent::initialize();
}
/**
* 获取codeGet code
* http://127.0.0.1/tiffany/api/sms/code?qaz=wsx
*/
function codeAction(){
}
/**
* 根据code获取access_tokenGet 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(){
}
}
?>