fix: 修改api
This commit is contained in:
parent
8bece51a20
commit
206f91d766
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user