feat:完善项目

This commit is contained in:
henry
2021-11-04 16:44:42 +08:00
parent c41adc075a
commit fe7c9ad983
8 changed files with 61 additions and 32 deletions

View File

@ -14,16 +14,16 @@ type Captcha struct{}
*/
/**
* @api {get} /api/captcha 获取验证码
* @api {get} /api/v1/captcha 获取验证码
* @apiVersion 1.0.0
* @apiName Captcha
* @apiGroup Captcha
*
* @apiSuccess (200) {Number} code 成功响应状态码!
* @apiSuccess (200) {String} msg 成功提示
* @apiSuccess (200) {Json} data 具体信息
* @apiSuccess (200) {Object} data 具体信息
* @apiSuccess (200) {String} data.key 验证码key
* @apiSuccess (200) {String} data.captcha 验证码图片地址
* @apiSuccess (200) {Number} code 成功响应状态码!
* @apiSuccess (200) {String} msg 成功提示
*
* @apiSuccessExample {json} Success response:
* HTTPS 200 OK