wangzhibo
6 天以前 7dcc2997614f849258091f5d66e648317a40d323
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));
  }
}