|
@@ -49,11 +49,11 @@ type SmartReport struct {
|
|
|
HeadImg string `description:"报告头图地址"`
|
|
|
EndImg string `description:"报告尾图地址"`
|
|
|
CanvasColor string `description:"画布颜色"`
|
|
|
- NeedSplice int `description:"0-不需要 1-需要"`
|
|
|
- HeadResourceId int `description:"版头资源ID"`
|
|
|
- EndResourceId int `description:"版尾资源ID"`
|
|
|
- HeadStyle string `description:"版头样式"`
|
|
|
- EndStyle string `description:"版尾样式"`
|
|
|
+ NeedSplice int `description:"0-不需要 1-需要"`
|
|
|
+ HeadResourceId int `description:"版头资源ID"`
|
|
|
+ EndResourceId int `description:"版尾资源ID"`
|
|
|
+ HeadStyle string `description:"版头样式"`
|
|
|
+ EndStyle string `description:"版尾样式"`
|
|
|
}
|
|
|
|
|
|
func (m *SmartReport) TableName() string {
|
|
@@ -132,11 +132,11 @@ type SmartReportItem struct {
|
|
|
HeadImg string `description:"报告头图地址"`
|
|
|
EndImg string `description:"报告尾图地址"`
|
|
|
CanvasColor string `description:"画布颜色"`
|
|
|
- NeedSplice int `description:"0-不需要 1-需要"`
|
|
|
- HeadResourceId int `description:"版头资源ID"`
|
|
|
- EndResourceId int `description:"版尾资源ID"`
|
|
|
- HeadStyle string `description:"版头样式"`
|
|
|
- EndStyle string `description:"版尾样式"`
|
|
|
+ NeedSplice int `description:"0-不需要 1-需要"`
|
|
|
+ HeadResourceId int `description:"版头资源ID"`
|
|
|
+ EndResourceId int `description:"版尾资源ID"`
|
|
|
+ HeadStyle string `description:"版头样式"`
|
|
|
+ EndStyle string `description:"版尾样式"`
|
|
|
}
|
|
|
|
|
|
// FormatSmartReport2Item 格式化智能研报数据格式
|
|
@@ -217,3 +217,8 @@ func GetResourceItemById(id int) (item *SmartReportResource, err error) {
|
|
|
err = o.Raw(sql, id).QueryRow(&item)
|
|
|
return
|
|
|
}
|
|
|
+
|
|
|
+type SmartReportWechatShareDetailResp struct {
|
|
|
+ H5ShareTitle string `description:"研报分享抬头"`
|
|
|
+ H5ReportShareImg string `description:"研报分享图片"`
|
|
|
+}
|