liuxiaolong
2019-07-05 ebe954dab1f8a58d86a0282960591acb05cee479
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",