diff --git a/server/src/modules/auth/controllers/auth.controller.ts b/server/src/modules/auth/controllers/auth.controller.ts index 6f0ce3c2..0c65388b 100644 --- a/server/src/modules/auth/controllers/auth.controller.ts +++ b/server/src/modules/auth/controllers/auth.controller.ts @@ -195,7 +195,7 @@ export class AuthController { /** * 密码强度 */ - @Get('register/password/strength') + @Get('/password/strength') @HttpCode(200) async getPasswordStrength(@Query('password') password: string) { const numberReg = /[0-9]/.test(password);