2 Commits

Author SHA1 Message Date
  huangjiajun d7b487dce7 Merge remote-tracking branch 'origin/master' 1 day ago
  huangjiajun 3a902c73d8 test 1 day ago
1 changed files with 3 additions and 0 deletions
Split View
  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