|
@@ -9,6 +9,7 @@ import (
|
|
"strconv"
|
|
"strconv"
|
|
)
|
|
)
|
|
|
|
|
|
|
|
+// Detail 报告详情
|
|
func Detail(c *gin.Context) {
|
|
func Detail(c *gin.Context) {
|
|
reqReportId := c.DefaultQuery("report_id", "")
|
|
reqReportId := c.DefaultQuery("report_id", "")
|
|
if reqReportId == ""{
|
|
if reqReportId == ""{
|
|
@@ -31,6 +32,7 @@ func Detail(c *gin.Context) {
|
|
return
|
|
return
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+// ChapterDetail 章节详情
|
|
func ChapterDetail(c *gin.Context) {
|
|
func ChapterDetail(c *gin.Context) {
|
|
reqReportChapterId := c.DefaultQuery("report_chapter_id", "")
|
|
reqReportChapterId := c.DefaultQuery("report_chapter_id", "")
|
|
if reqReportChapterId == ""{
|
|
if reqReportChapterId == ""{
|
|
@@ -53,7 +55,7 @@ func ChapterDetail(c *gin.Context) {
|
|
return
|
|
return
|
|
}
|
|
}
|
|
|
|
|
|
-
|
|
|
|
|
|
+// List 研报列表
|
|
func List(c *gin.Context) {
|
|
func List(c *gin.Context) {
|
|
reqClassifyIdFirst := c.DefaultQuery("classify_id_first", "")
|
|
reqClassifyIdFirst := c.DefaultQuery("classify_id_first", "")
|
|
reqClassifyIdSec := c.DefaultQuery("classify_id_second", "")
|
|
reqClassifyIdSec := c.DefaultQuery("classify_id_second", "")
|
|
@@ -102,6 +104,7 @@ func List(c *gin.Context) {
|
|
return
|
|
return
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+// CollectReportList 首页研报汇总
|
|
func CollectReportList(c *gin.Context) {
|
|
func CollectReportList(c *gin.Context) {
|
|
reqChartPermissionId := c.DefaultQuery("chart_permission_id", "")
|
|
reqChartPermissionId := c.DefaultQuery("chart_permission_id", "")
|
|
reqPageIndex := c.DefaultQuery("current_index", "1")
|
|
reqPageIndex := c.DefaultQuery("current_index", "1")
|
|
@@ -139,6 +142,7 @@ func CollectReportList(c *gin.Context) {
|
|
return
|
|
return
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+// Search 首页研报搜索
|
|
func Search(c *gin.Context) {
|
|
func Search(c *gin.Context) {
|
|
keyWord := c.DefaultQuery("key_word", "")
|
|
keyWord := c.DefaultQuery("key_word", "")
|
|
reqPageIndex := c.DefaultQuery("current_index", "1")
|
|
reqPageIndex := c.DefaultQuery("current_index", "1")
|
|
@@ -170,6 +174,7 @@ func Search(c *gin.Context) {
|
|
return
|
|
return
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+// TickerData 报告详情获取指标数据
|
|
func TickerData(c *gin.Context) {
|
|
func TickerData(c *gin.Context) {
|
|
reqReportChapterId := c.DefaultQuery("report_chapter_id", "")
|
|
reqReportChapterId := c.DefaultQuery("report_chapter_id", "")
|
|
if reqReportChapterId == ""{
|
|
if reqReportChapterId == ""{
|