Browse Source

1

add_mode
DengBiao 1 year ago
parent
commit
01ab39f687
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      app/customer/hdl/hdl_user.go

+ 2
- 1
app/customer/hdl/hdl_user.go View File

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


Loading…
Cancel
Save