api:更新登录验证码接口Swagger注解

更新发送登录验证码接口的ApiOperation描述,
明确说明邮件使用专门的登录验证码模板,
内容标识为登录验证而非密码重置。
This commit is contained in:
moyin
2025-12-25 20:41:00 +08:00
parent 946d328be6
commit 0005dc773c

View File

@@ -529,7 +529,7 @@ export class LoginController {
*/ */
@ApiOperation({ @ApiOperation({
summary: '发送登录验证码', summary: '发送登录验证码',
description: '向用户邮箱或手机发送登录验证码' description: '向用户邮箱或手机发送登录验证码。邮件使用专门的登录验证码模板,内容明确标识为登录验证而非密码重置。'
}) })
@ApiBody({ type: SendLoginVerificationCodeDto }) @ApiBody({ type: SendLoginVerificationCodeDto })
@SwaggerApiResponse({ @SwaggerApiResponse({