diff --git a/app/mix/service/service.go b/app/mix/service/service.go index e7491a4e..543fb724 100644 --- a/app/mix/service/service.go +++ b/app/mix/service/service.go @@ -4180,6 +4180,8 @@ func (s *Service) SaveAgreeCallback(ctx *gin.Context, req *hvyogoproto.ExtAgreeC func (s *Service) SaveSingleDistributeCallback(ctx *gin.Context, req *hvyogoproto.ExtSingleDistributeCallbackReq) (ec errcode.ErrCode) { ec = errcode.ErrCodeHvyogoSrvOk + var err error + // 解密AES bytes, err := hex.DecodeString(strings.ToLower(req.BusinessBody)) if err != nil { @@ -4202,6 +4204,14 @@ func (s *Service) SaveSingleDistributeCallback(ctx *gin.Context, req *hvyogoprot return } + defer func () { + if err != nil{ + + } + }() + + if vo.DistributeStatus != + // 更新数据 err = _DefaultSingleDistributeHis.OpUpdate(ctx, &single_distribute_his_proto.OpUpdateReq{ SingleDistributeHis: &dbstruct.SingleDistributeHis{