Browse Source

test

adv_callback
huangjiajun 1 month ago
parent
commit
3a902c73d8
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      app/hdl/hdl_user.go

+ 3
- 0
app/hdl/hdl_user.go View File

@@ -5,6 +5,7 @@ import (
"applet/app/md"
"applet/app/svc"
"applet/app/utils"
"fmt"
"github.com/gin-gonic/gin"
)

@@ -20,6 +21,7 @@ import (
// @Router /api/v1/userInfo [get]
func UserInfo(c *gin.Context) {
user := svc.GetUser(c)
fmt.Println(1233333)
res := md.UserInfoResp{
Id: utils.Int64ToStr(user.Id),
Phone: user.Phone,
@@ -34,5 +36,6 @@ func UserInfo(c *gin.Context) {
res.IsBindExtend = "1"
}
e.OutSuc(c, res, nil)
fmt.Println(1111111)
return
}

Loading…
Cancel
Save