From bc0597efe0cecddbacf69cf10045ff18dba005cc Mon Sep 17 00:00:00 2001 From: sudoooooo Date: Mon, 23 Sep 2024 15:20:13 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9api?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/src/modules/auth/controllers/auth.controller.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);