api:更新登录验证码接口Swagger注解
更新发送登录验证码接口的ApiOperation描述, 明确说明邮件使用专门的登录验证码模板, 内容标识为登录验证而非密码重置。
This commit is contained in:
@@ -529,7 +529,7 @@ export class LoginController {
|
|||||||
*/
|
*/
|
||||||
@ApiOperation({
|
@ApiOperation({
|
||||||
summary: '发送登录验证码',
|
summary: '发送登录验证码',
|
||||||
description: '向用户邮箱或手机发送登录验证码'
|
description: '向用户邮箱或手机发送登录验证码。邮件使用专门的登录验证码模板,内容明确标识为登录验证而非密码重置。'
|
||||||
})
|
})
|
||||||
@ApiBody({ type: SendLoginVerificationCodeDto })
|
@ApiBody({ type: SendLoginVerificationCodeDto })
|
||||||
@SwaggerApiResponse({
|
@SwaggerApiResponse({
|
||||||
|
|||||||
Reference in New Issue
Block a user