Merge pull request 'by Robin at 20240422' (#325) from dev-feat-IRONFANS-70-Robin into feat-IRONFANS-70
Reviewed-on: http://121.41.31.146:3000/wishpal_ironfan/service/pulls/325
This commit is contained in:
commit
d48d695310
|
@ -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