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