This commit is contained in:
lwl0608 2024-05-17 14:08:15 +08:00
parent 8ba9674a27
commit 6a1db908d2
2 changed files with 7 additions and 4 deletions

View File

@ -2986,6 +2986,9 @@ func (v *Vas) refundZoneMoment(ctx *gin.Context, order *dbstruct.Order, req *vas
return err
}
// 减购买人数
_ = v.store.DecZoneMomentBuyerCnt(ctx, zid, momentId)
return nil
}

View File

@ -141,10 +141,10 @@ func NewVideoFromJson(item any) (vid *Video, err error) {
err = errors.New("invalid video object with null md5")
return
}
if vid.Dur == 0 {
err = errors.New("invalid video object with zero dur")
return
}
//if vid.Dur == 0 {
// err = errors.New("invalid video object with zero dur")
// return
//}
if vid.Fmt == "" {
err = errors.New("invalid video object with null fmt")
return