package api import ( "fmt" "github.com/gin-gonic/gin" ) //ServiceTestHttp JWT授权的http处理函数 func ServiceTestHttp(c *gin.Context, apictx *ApiSession) (interface{}, error) { fmt.Println("test") return "hello world " + apictx.Svc.DebugUserPhone, nil }