切换主体
This commit is contained in:
parent
4ec1809383
commit
64c7fbecd2
|
|
@ -71,7 +71,7 @@ func (srv *NotifyService) Notify(ctx http.Context) error {
|
||||||
if err = srv.VoucherBiz.WechatNotifyConsumer(ctx, ip, response); err != nil {
|
if err = srv.VoucherBiz.WechatNotifyConsumer(ctx, ip, response); err != nil {
|
||||||
|
|
||||||
headerJson, _ := json.Marshal(headers)
|
headerJson, _ := json.Marshal(headers)
|
||||||
log.Errorf("微信回调通知[%s],Consumer处理失败:%s\nheaders:%s\nbody:%s\n解析数据:%+v", mchId, err.Error(), headerJson, string(bodyBytes), response)
|
log.Errorf("微信回调通知[%s],consumer处理失败:%s\nheaders:%s\nbody:%s\n解析数据:%+v", mchId, err.Error(), headerJson, string(bodyBytes), response)
|
||||||
|
|
||||||
return ctx.JSON(http2.StatusBadRequest, map[string]string{
|
return ctx.JSON(http2.StatusBadRequest, map[string]string{
|
||||||
"code": "FAIL",
|
"code": "FAIL",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue