This commit is contained in:
xiaojunnuo
2025-09-11 00:19:38 +08:00
parent d2ecfe5491
commit 3635fb3910
26 changed files with 1368 additions and 4 deletions
@@ -22,6 +22,7 @@ export class LoginController extends BaseController {
@Body(ALL)
user: any
) {
await this.loginService.doCaptchaValidate({form:user})
const token = await this.loginService.loginByPassword(user);
this.writeTokenCookie(token);
return this.ok(token);