mirror of
https://github.com/ArvinLovegood/go-stock.git
synced 2025-07-19 00:00:09 +08:00
- 在前端新增 StockResearchReportList 组件,用于显示个股研报列表 - 在后端新增 StockResearchReport 接口和实现,获取个股研报数据- 在 App.d.ts 和 App.js 中添加相关函数声明和实现- 在 market.vue 中集成新增的个股研报功能
20 lines
438 B
Go
20 lines
438 B
Go
package main
|
|
|
|
import (
|
|
"go-stock/backend/data"
|
|
"go-stock/backend/models"
|
|
)
|
|
|
|
// @Author spark
|
|
// @Date 2025/6/8 20:45
|
|
// @Desc
|
|
//-----------------------------------------------------------------------------------
|
|
|
|
func (a *App) LongTigerRank(date string) *[]models.LongTigerRankData {
|
|
return data.NewMarketNewsApi().LongTiger(date)
|
|
}
|
|
|
|
func (a *App) StockResearchReport() []any {
|
|
return data.NewMarketNewsApi().StockResearchReport(7)
|
|
}
|