This commit is contained in:
Leufolium 2024-06-24 21:24:08 +08:00
parent 813636ca8f
commit 45d78dfd17
1 changed files with 10 additions and 0 deletions

View File

@ -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{