Merge branch 'fix_panicc' into test
This commit is contained in:
commit
fc37a1595f
|
@ -900,6 +900,10 @@ func (s *Service) ZoneGetCashier(ctx *gin.Context, req *vasproto.ZoneGetCashierR
|
|||
}
|
||||
data.Price = zv.IronfanshipPrice
|
||||
case dbstruct.ProductIdH5ZoneSuperfanship:
|
||||
if zv == nil {
|
||||
ec = errcode.ErrCodeVasSrvFail
|
||||
return nil, ec, fmt.Errorf("主播没开通空间")
|
||||
}
|
||||
// 判断主播是否开启超粉
|
||||
if zv.IsSuperfanshipEnabled != 1 {
|
||||
ec = errcode.ErrCodeVasSrvFail
|
||||
|
|
Loading…
Reference in New Issue