This commit is contained in:
parent
813636ca8f
commit
45d78dfd17
|
@ -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{
|
||||
|
|
Loading…
Reference in New Issue