Merge pull request 'add api' (#710) from feat-IRONFANS-198-Robin into test

Reviewed-on: http://121.41.31.146:3000/wishpal_ironfan/service/pulls/710
This commit is contained in:
chenhao 2024-08-29 14:29:38 +08:00
commit 73130e4a4b
2 changed files with 4 additions and 0 deletions

View File

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

View File

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