edb_info.go 1.3 KB

1234567891011121314151617181920212223
  1. package request
  2. // EdbInfoDataReq 指标数据请求体
  3. type EdbInfoDataReq struct {
  4. EdbInfoId int `form:"edb_info_id" json:"edb_info_id" description:"指标ID"`
  5. DateType int `form:"date_type" json:"date_type" description:"日期类型"`
  6. EdbInfoType int `form:"edb_info_type" json:"edb_info_type" description:"指标类型"`
  7. StartDate string `form:"start_date" json:"start_date" description:"开始日期"`
  8. EndDate string `form:"end_date" json:"end_date" description:"结束日期"`
  9. StartYear int `form:"start_year" json:"start_year" description:"开始年份"`
  10. }
  11. // PredictEdbInfoDataReq 预测指标数据请求体
  12. type PredictEdbInfoDataReq struct {
  13. EdbInfoId int `form:"edb_info_id" json:"edb_info_id" description:"指标ID"`
  14. DateType int `form:"date_type" json:"date_type" description:"日期类型"`
  15. EdbInfoType int `form:"edb_info_type" json:"edb_info_type" description:"指标类型"`
  16. StartDate string `form:"start_date" json:"start_date" description:"开始日期"`
  17. EndDate string `form:"end_date" json:"end_date" description:"结束日期"`
  18. StartYear int `form:"start_year" json:"start_year" description:"开始年份"`
  19. ChartType int `form:"chart_type" json:"chart_type" description:"图表类型"`
  20. Calendar string `form:"calendar" json:"calendar" description:"公历/农历"`
  21. }