fix
This commit is contained in:
parent
8ba9674a27
commit
6a1db908d2
|
@ -2986,6 +2986,9 @@ func (v *Vas) refundZoneMoment(ctx *gin.Context, order *dbstruct.Order, req *vas
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 减购买人数
|
||||||
|
_ = v.store.DecZoneMomentBuyerCnt(ctx, zid, momentId)
|
||||||
|
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -141,10 +141,10 @@ func NewVideoFromJson(item any) (vid *Video, err error) {
|
||||||
err = errors.New("invalid video object with null md5")
|
err = errors.New("invalid video object with null md5")
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if vid.Dur == 0 {
|
//if vid.Dur == 0 {
|
||||||
err = errors.New("invalid video object with zero dur")
|
// err = errors.New("invalid video object with zero dur")
|
||||||
return
|
// return
|
||||||
}
|
//}
|
||||||
if vid.Fmt == "" {
|
if vid.Fmt == "" {
|
||||||
err = errors.New("invalid video object with null fmt")
|
err = errors.New("invalid video object with null fmt")
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in New Issue