add api #710

Merged
chenhao merged 1 commits from feat-IRONFANS-198-Robin into test 2024-08-29 14:29:38 +08:00
2 changed files with 4 additions and 0 deletions
Showing only changes of commit eb4f10506e - Show all commits

View File

@ -202,6 +202,8 @@ type ApiFilterReq struct {
Fans *util.Int64Filter `json:"fans"` Fans *util.Int64Filter `json:"fans"`
Height *util.Int64Filter `json:"height"` Height *util.Int64Filter `json:"height"`
Weight *util.Int64Filter `json:"weight"` Weight *util.Int64Filter `json:"weight"`
WechatCoinPrice *util.Int64Filter `json:"wechat_coin_price"`
ZoneAdmissionPrice *util.Int64Filter `json:"zone_admission_price"`
City *string `json:"city"` City *string `json:"city"`
Constellation *string `json:"constellation"` Constellation *string `json:"constellation"`
IsActiveWithinAWeek *int64 `json:"is_active_within_a_week"` IsActiveWithinAWeek *int64 `json:"is_active_within_a_week"`

View File

@ -1791,6 +1791,8 @@ func (s *Service) ApiFilterStreamer(ctx *gin.Context, req *streamerproto.ApiFilt
Fans: req.Fans, Fans: req.Fans,
Height: req.Height, Height: req.Height,
Weight: req.Weight, Weight: req.Weight,
WechatCoinPrice: req.WechatCoinPrice,
ZoneAdmissionPrice: req.ZoneAdmissionPrice,
City: req.City, City: req.City,
Constellation: req.Constellation, Constellation: req.Constellation,
IsActiveWithinAWeek: req.IsActiveWithinAWeek, IsActiveWithinAWeek: req.IsActiveWithinAWeek,