切换主体
This commit is contained in:
parent
c89a6406b6
commit
0d5259c9b0
|
|
@ -76,7 +76,7 @@ func (srv *NotifyService) Notify(ctx http.Context) error {
|
||||||
|
|
||||||
if err = srv.VoucherBiz.WechatNotifyConsumer(ctx, ip, bizData); err != nil {
|
if err = srv.VoucherBiz.WechatNotifyConsumer(ctx, ip, bizData); err != nil {
|
||||||
|
|
||||||
log.Errorf("微信回调通知[%s],consumer处理失败:%s\nheaders:%s\nbody:%s\n解析数据:%+v", mchId, err.Error(), headerJson, string(bodyBytes), bizData)
|
//log.Errorf("微信回调通知[%s],consumer处理失败:%s\nheaders:%s\nbody:%s\n解析数据:%+v", mchId, err.Error(), headerJson, string(bodyBytes), bizData)
|
||||||
|
|
||||||
if errors.Is(err, gorm.ErrRecordNotFound) {
|
if errors.Is(err, gorm.ErrRecordNotFound) {
|
||||||
return ctx.JSON(http2.StatusOK, nil)
|
return ctx.JSON(http2.StatusOK, nil)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue