|
|
@@ -7,6 +7,7 @@ import ( |
|
|
|
"applet/app/e" |
|
|
|
"applet/app/enum" |
|
|
|
"applet/app/utils" |
|
|
|
"fmt" |
|
|
|
"github.com/gin-gonic/gin" |
|
|
|
"time" |
|
|
|
) |
|
|
@@ -14,7 +15,7 @@ import ( |
|
|
|
func UserInfo(c *gin.Context) { |
|
|
|
//1、获取用户信息 |
|
|
|
userInfo := svc.GetUser(c) |
|
|
|
|
|
|
|
fmt.Println(">>>>>>>>>>>>>userInfo", userInfo) |
|
|
|
//2、获取用户身份信息 |
|
|
|
userIdentityDb := db.UserIdentityDb{} |
|
|
|
userIdentityDb.Set(userInfo.Id) |
|
|
|