From fd338e363b443b071f2687f20c87479b9a09a9a6 Mon Sep 17 00:00:00 2001 From: shaoyongjun Date: Wed, 15 May 2024 13:53:27 +0800 Subject: [PATCH] to:sync --- apps/user.go | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/apps/user.go b/apps/user.go index 6ec1434..aacd6c5 100644 --- a/apps/user.go +++ b/apps/user.go @@ -27,7 +27,13 @@ func InitUserGroup(g *echo.Group) { return c.JSON(http.StatusOK, utils.Error(err)) } - return c.JSON(http.StatusOK, utils.Ok(true)) + //登录 + token, _ := service.Login.Login(ctx, dto.ThirdLoginReq{ + Account: req.Account, + Password: req.Password, + }) + + return c.JSON(http.StatusOK, utils.Ok(token)) }) //登录