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)) }) //登录