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/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)


Loading…
Cancel
Save