src/modules/user/controller/app/login.ts
@@ -103,4 +103,15 @@ ) { return this.ok(await this.userLoginService.password(phone, password)); } @CoolTag(TagTypes.IGNORE_TOKEN) @Post('/sorterPassword', { summary: '密码登录' }) async sorterPassword( @Body('phone') phone: string, @Body('password') password: string ) { return this.ok(await this.userLoginService.sorterPassword(phone, password)); } }