fund.go 453 B

1234567891011121314
  1. package api
  2. import "github.com/gogf/gf/v2/frame/g"
  3. type FundListReq struct {
  4. g.Meta `path:"/fund/list" method:"get" tags:"基金相关" summary:"获取基金列表"`
  5. Page int `p:"page" d:"1" v:"required"`
  6. PageSize int `p:"page_size" d:"20" v:"required"`
  7. }
  8. type FundDetailReq struct {
  9. g.Meta `path:"/fund/detail" method:"get" tags:"基金相关" summary:"获取特定基金详情"`
  10. FundId string `p:"fund_id" v:"required#基金id缺失"`
  11. }