切换主体

This commit is contained in:
ziming 2026-03-26 10:57:57 +08:00
parent 5051e2e744
commit 129b849b02
1 changed files with 1 additions and 3 deletions

View File

@ -68,12 +68,10 @@ func (srv *NotifyService) Notify(ctx http.Context) error {
ip := helper.GetClientIP(ctx)
log.Warnf("微信回调通知[%s],解析数据,response:%+v", mchId, response)
if err = srv.VoucherBiz.WechatNotifyConsumer(ctx, ip, response); err != nil {
headerJson, _ := json.Marshal(headers)
log.Errorf("微信回调通知[%s],Consumer处理失败,headers:%s,body:%s,err:%s", mchId, headerJson, string(bodyBytes), err.Error())
log.Errorf("微信回调通知[%s],Consumer处理失败,headers:%s,body:%s,解析数据:%+v,err:%s", mchId, headerJson, string(bodyBytes), response, err.Error())
return ctx.JSON(http2.StatusBadRequest, map[string]string{
"code": "FAIL",