by Robin at 20240422
This commit is contained in:
parent
0eef3c0aef
commit
1966a42d28
|
@ -16,6 +16,7 @@ type ApiZoneMomentVO struct {
|
|||
Expenditure int64 `json:"expenditure"`
|
||||
IronfanshipPrice int64 `json:"ironfanship_price"`
|
||||
BuyerCnt int64 `json:"buyer_cnt"` // 动态购买人数
|
||||
IsSuperfanshipEnabled int64 `json:"is_superfanship_enabled"`
|
||||
}
|
||||
|
||||
func (vo *ApiZoneMomentVO) CopyZoneMoment(zonemoment *dbstruct.ZoneMoment) {
|
||||
|
|
|
@ -1722,6 +1722,7 @@ func (s *Service) utilFillZoneMomentsWithApiVOInfo(ctx *gin.Context, list []*dbs
|
|||
// 铁粉价格
|
||||
if zv, ok := zvMap[zid]; ok {
|
||||
vo.IronfanshipPrice = zv.IronfanshipPrice
|
||||
vo.IsSuperfanshipEnabled = int64(zv.IsSuperfanshipEnabled)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue