This commit is contained in:
shaoyongjun 2024-05-15 13:53:27 +08:00
parent 1935529090
commit fd338e363b

View File

@ -27,7 +27,13 @@ func InitUserGroup(g *echo.Group) {
return c.JSON(http.StatusOK, utils.Error(err)) 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))
}) })
//登录 //登录