controllers/user.go
@@ -42,7 +42,7 @@ authDriver := auth.GenerateAuthDriver() tokenStr := (*authDriver).Login(c.Request, c.Writer, util.Struct2Map(userInfo)) c.JSON(200,map[string]interface{}{ "userInfo":userInfo, "userInfo":userInfo.(map[string]interface{})["data"], "access_token":tokenStr, "refresh_token":tokenStr, "scope":"app",