Browse Source

test

master
huangjiajun 1 day 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/md"
"applet/app/svc" "applet/app/svc"
"applet/app/utils" "applet/app/utils"
"fmt"
"github.com/gin-gonic/gin" "github.com/gin-gonic/gin"
) )


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

Loading…
Cancel
Save