...
|
...
|
@@ -29,42 +29,53 @@ return [ |
|
|
* @param string _token_ token登录凭证
|
|
|
* @param int page 当前页数
|
|
|
*/
|
|
|
'mail/list' => [\Controller\Home::class, 'lists'],
|
|
|
'list' => [\Controller\Home::class, 'lists'],
|
|
|
|
|
|
/**
|
|
|
* 邮件文件夹
|
|
|
* @see \Controller\Folder::lists()
|
|
|
* @param string _token_ token登录凭证
|
|
|
*/
|
|
|
'mail/folder' => [\Controller\Folder::class, 'lists'],
|
|
|
'folder' => [\Controller\Folder::class, 'lists'],
|
|
|
|
|
|
/**
|
|
|
* 邮件/创建文件夹
|
|
|
* @see \Controller\Folder::create()
|
|
|
* @param string _token_ token登录凭证
|
|
|
*/
|
|
|
'mail/folder/create' => [\Controller\Folder::class, 'create'],
|
|
|
'folder/create' => [\Controller\Folder::class, 'create'],
|
|
|
|
|
|
/**
|
|
|
* 邮件/重命名文件夹
|
|
|
* @see \Controller\Folder::rename()
|
|
|
* @param string _token_ token登录凭证
|
|
|
*/
|
|
|
'mail/folder/rename' => [\Controller\Folder::class, 'rename'],
|
|
|
'folder/rename' => [\Controller\Folder::class, 'rename'],
|
|
|
|
|
|
/**
|
|
|
* 邮件/删除文件夹
|
|
|
* @see \Controller\Folder::delete()
|
|
|
* @param string _token_ token登录凭证
|
|
|
*/
|
|
|
'mail/folder/delete' => [\Controller\Folder::class, 'delete'],
|
|
|
'folder/delete' => [\Controller\Folder::class, 'delete'],
|
|
|
|
|
|
/**
|
|
|
* 发送邮件
|
|
|
* @see \Controller\Home::send_mail()
|
|
|
* @param string _token_ token登录凭证
|
|
|
*/
|
|
|
'mail/send' => [\Controller\Home::class, 'send_mail'],
|
|
|
'send' => [\Controller\Home::class, 'send_mail'],
|
|
|
|
|
|
|
|
|
/**
|
|
|
* 同步请求
|
|
|
* @see \Controller\Home::sync()
|
|
|
* @param string _token_ token登录凭证
|
|
|
*/
|
|
|
'sync' => [\Controller\Home::class, 'sync'],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
];
|
|
|
|
...
|
...
|
|