切换主体

This commit is contained in:
ziming 2026-03-26 13:44:41 +08:00
parent 2ec6b62912
commit 3f3bcbab8e
1 changed files with 0 additions and 1 deletions

View File

@ -75,7 +75,6 @@ func (srv *NotifyService) Notify(ctx http.Context) error {
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)
// 系统订单不存在
if errors.Is(err, gorm.ErrRecordNotFound) { if errors.Is(err, gorm.ErrRecordNotFound) {
return ctx.JSON(http2.StatusOK, nil) return ctx.JSON(http2.StatusOK, nil)
} }