切换主体
This commit is contained in:
parent
5051e2e744
commit
129b849b02
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Reference in New Issue