This commit is contained in:
laodaming 2023-11-13 10:13:51 +08:00
parent 234f8399ab
commit 27c571e4a6

View File

@ -1,6 +1,8 @@
package handler package handler
import ( import (
"github.com/zeromicro/go-zero/core/logx"
"io"
"net/http" "net/http"
"reflect" "reflect"
@ -13,7 +15,8 @@ import (
func RenderNotifyHandler(svcCtx *svc.ServiceContext) http.HandlerFunc { func RenderNotifyHandler(svcCtx *svc.ServiceContext) http.HandlerFunc {
return func(w http.ResponseWriter, r *http.Request) { return func(w http.ResponseWriter, r *http.Request) {
b,_ := io.ReadAll(r.Body)
logx.Info("渲染回调数据:",string(b))
var req types.RenderNotifyReq var req types.RenderNotifyReq
userinfo, err := basic.RequestParse(w, r, svcCtx, &req) userinfo, err := basic.RequestParse(w, r, svcCtx, &req)
if err != nil { if err != nil {