|
@@ -15,28 +15,48 @@ type ResearchReportTypeInfo struct {
|
|
|
ResearchReportTypeTitle string `json:"research_report_type_title" description:"研究报告标题"`
|
|
|
BannerUrl string `json:"banner_url" description:"banner url"`
|
|
|
ReportChapterTypeName string `json:"report_chapter_type_name" description:"章节名称"`
|
|
|
- ResearchReportID uint64 `orm:"column(research_report_id)";json:"research_report_id" description:"报告id"`
|
|
|
- ResearchReportTypeID uint64 `orm:"column(research_report_type_id)";json:"research_report_type_id" description:"研究报告id"`
|
|
|
- TypeID int `orm:"column(type_id)";json:"type_id" description:"分类id"`
|
|
|
+ ResearchReportID uint64 `orm:"column(research_report_id)" json:"research_report_id" description:"报告id"`
|
|
|
+ ResearchReportTypeID uint64 `orm:"column(research_report_type_id)" json:"research_report_type_id" description:"研究报告id"`
|
|
|
+ TypeID int `orm:"column(type_id)" json:"type_id" description:"分类id"`
|
|
|
ReportChapterTypeId uint64 `json:"report_chapter_type_id" description:"章节名称"`
|
|
|
+ Type string ` json:"type";description:"day 晨报 week 周报 two_week双周报 month 月报"`
|
|
|
}
|
|
|
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
type ResearchReportTypeList struct {
|
|
|
- ResearchReportTypeId uint64 ` description:"章节ID"`
|
|
|
- ResearchReportId uint64 ` description:"研究报告id"`
|
|
|
- ResearchReportTypeTitle string `description:"研究报告标题"`
|
|
|
- TypeId int `description:"分类id"`
|
|
|
+ ResearchReportTypeId uint64 ` description:"章节ID" `
|
|
|
+ ResearchReportId uint64 ` description:"研究报告id" `
|
|
|
+ ResearchReportTypeTitle string `description:"研究报告标题" `
|
|
|
+ TypeId int `description:"分类id" `
|
|
|
Edit int8 `description:"是否编辑过"`
|
|
|
- Trend string `description:"趋势观点"`
|
|
|
- ReportChapterTypeKey string `description:"章节key"`
|
|
|
- ReportChapterTypeThumb string `description:"H5展示的图片"`
|
|
|
- BannerUrl string `description:"banner显示图片"`
|
|
|
- ReportChapterTypeName string `description:"报告章节类型名称"`
|
|
|
- Sort int `description:"排序字段"`
|
|
|
- EditImgUrl string `description:"管理后台编辑时选用的图"`
|
|
|
- PauseStartTime time.Time `description:"暂停开始日期"`
|
|
|
- PauseEndTime time.Time `description:"暂停结束日期"`
|
|
|
- LastUpdatedTime time.Time `description:"最后更新时间"`
|
|
|
+ Trend string `description:"趋势观点" `
|
|
|
+ ReportChapterTypeKey string `description:"章节key" `
|
|
|
+ ReportChapterTypeThumb string `description:"H5展示的图片" `
|
|
|
+ BannerUrl string `description:"banner显示图片" `
|
|
|
+ ReportChapterTypeName string `description:"报告章节类型名称" `
|
|
|
+ Sort int `description:"排序字段" `
|
|
|
+ EditImgUrl string `description:"管理后台编辑时选用的图" `
|
|
|
+ PauseStartTime time.Time `description:"暂停开始日期" `
|
|
|
+ PauseEndTime time.Time `description:"暂停结束日期" `
|
|
|
+ LastUpdatedTime time.Time `description:"最后更新时间" `
|
|
|
HttpUrl string `json:"http_url",description:"报告详情"`
|
|
|
}
|
|
|
|
|
@@ -120,7 +140,7 @@ func GetReportVarietyList(userId int, reportType string) (list []*ReportChapterT
|
|
|
}
|
|
|
|
|
|
type ResearchReportTypeContent struct {
|
|
|
- ResearchReportTypeTitle string
|
|
|
+ ResearchReportTypeTitle string `json:"research_report_type_title" description:"标题"`
|
|
|
ResearchReportTypeContentId int `json:"research_report_type_content_id" description:"研究报告内容id"`
|
|
|
ResearchReportTypeId int `json:"research_report_id" description:"报告id"`
|
|
|
Sort int `json:"sort" description:"排序"`
|