fix: 修改api
This commit is contained in:
parent
365bea25e1
commit
bc0597efe0
@ -195,7 +195,7 @@ export class AuthController {
|
|||||||
/**
|
/**
|
||||||
* 密码强度
|
* 密码强度
|
||||||
*/
|
*/
|
||||||
@Get('register/password/strength')
|
@Get('/password/strength')
|
||||||
@HttpCode(200)
|
@HttpCode(200)
|
||||||
async getPasswordStrength(@Query('password') password: string) {
|
async getPasswordStrength(@Query('password') password: string) {
|
||||||
const numberReg = /[0-9]/.test(password);
|
const numberReg = /[0-9]/.test(password);
|
||||||
|
Loading…
Reference in New Issue
Block a user