Documentation ¶
Index ¶
- type BalanceSheetController
- type CashFlowController
- type DayLineController
- func (this *DayLineController) FindAllInOutEvent(ctx iris.Context)
- func (this *DayLineController) FindCorr(ctx iris.Context)
- func (this *DayLineController) FindFlexPoint(ctx iris.Context)
- func (this *DayLineController) FindFollowing(ctx iris.Context)
- func (this *DayLineController) FindHighest(ctx iris.Context)
- func (this *DayLineController) FindInOutEvent(ctx iris.Context)
- func (this *DayLineController) FindLowestest(ctx iris.Context)
- func (this *DayLineController) FindMaCross(ctx iris.Context)
- func (this *DayLineController) FindPreceding(ctx iris.Context)
- func (this *DayLineController) FindRange(ctx iris.Context)
- func (this *DayLineController) GetUpdateDayLine(ctx iris.Context)
- func (this *DayLineController) GetUpdateTodayLine(ctx iris.Context)
- func (this *DayLineController) ParseJSON(json []byte) (interface{}, error)
- func (this *DayLineController) ParsePath(ctx iris.Context)
- func (this *DayLineController) RefreshBeforeMa(ctx iris.Context)
- func (this *DayLineController) RefreshDayLine(ctx iris.Context)
- func (this *DayLineController) RefreshStat(ctx iris.Context)
- func (this *DayLineController) RefreshTodayLine(ctx iris.Context)
- func (this *DayLineController) Search(ctx iris.Context)
- func (this *DayLineController) StdPath(ctx iris.Context)
- func (this *DayLineController) UpdateBeforeMa(ctx iris.Context)
- func (this *DayLineController) UpdateStat(ctx iris.Context)
- func (this *DayLineController) WriteAllFile(ctx iris.Context)
- func (this *DayLineController) WriteFile(ctx iris.Context)
- type DayLinePara
- type EventCondController
- func (this *EventCondController) FindGroupby(ctx iris.Context)
- func (this *EventCondController) GetUpdateEventCond(ctx iris.Context)
- func (this *EventCondController) ParseJSON(json []byte) (interface{}, error)
- func (this *EventCondController) RefreshEventCond(ctx iris.Context)
- func (this *EventCondController) Search(ctx iris.Context)
- type EventCondPara
- type EventController
- type EventFilterController
- type ExpressController
- func (this *ExpressController) FindByQDate(ctx iris.Context)
- func (this *ExpressController) FindLatest(ctx iris.Context)
- func (this *ExpressController) GetUpdateExpress(ctx iris.Context)
- func (this *ExpressController) ParseJSON(json []byte) (interface{}, error)
- func (this *ExpressController) RefreshExpress(ctx iris.Context)
- func (this *ExpressController) Search(ctx iris.Context)
- type FilterCondController
- type FminLineController
- type ForecastController
- func (this *ForecastController) FindByQDate(ctx iris.Context)
- func (this *ForecastController) FindLatest(ctx iris.Context)
- func (this *ForecastController) GetUpdateForecast(ctx iris.Context)
- func (this *ForecastController) ParseJSON(json []byte) (interface{}, error)
- func (this *ForecastController) RefreshForecast(ctx iris.Context)
- func (this *ForecastController) Search(ctx iris.Context)
- type IncomeController
- type MinLineController
- func (this *MinLineController) FindMinLines(ctx iris.Context)
- func (this *MinLineController) GetUpdateMinLine(ctx iris.Context)
- func (this *MinLineController) GetUpdateTodayMinLine(ctx iris.Context)
- func (this *MinLineController) ParseJSON(json []byte) (interface{}, error)
- func (this *MinLineController) ParsePath(ctx iris.Context)
- func (this *MinLineController) RefreshMinLine(ctx iris.Context)
- func (this *MinLineController) RefreshTodayMinLine(ctx iris.Context)
- type PerformanceController
- func (this *PerformanceController) FindByQDate(ctx iris.Context)
- func (this *PerformanceController) FindLatest(ctx iris.Context)
- func (this *PerformanceController) GetUpdatePerformance(ctx iris.Context)
- func (this *PerformanceController) ParseJSON(json []byte) (interface{}, error)
- func (this *PerformanceController) RefreshPerformance(ctx iris.Context)
- func (this *PerformanceController) Search(ctx iris.Context)
- type PerformancePara
- type PortfolioStatController
- func (this *PortfolioStatController) FindPortfolioStat(ctx iris.Context)
- func (this *PortfolioStatController) GetUpdatePortfolioStat(ctx iris.Context)
- func (this *PortfolioStatController) ParseJSON(json []byte) (interface{}, error)
- func (this *PortfolioStatController) RefreshPortfolioStat(ctx iris.Context)
- type PortfolioStatPara
- type ProcessLogController
- type QPerformanceController
- func (this *QPerformanceController) FindPercentRank(ctx iris.Context)
- func (this *QPerformanceController) FindStat(ctx iris.Context)
- func (this *QPerformanceController) FindStdQPerformance(ctx iris.Context)
- func (this *QPerformanceController) GetUpdateDayQPerformance(ctx iris.Context)
- func (this *QPerformanceController) GetUpdateWmqyQPerformance(ctx iris.Context)
- func (this *QPerformanceController) ParseJSON(json []byte) (interface{}, error)
- func (this *QPerformanceController) RefreshQPerformance(ctx iris.Context)
- func (this *QPerformanceController) Search(ctx iris.Context)
- type QPerformancePara
- type QStatController
- func (this *QStatController) FindQStat(ctx iris.Context)
- func (this *QStatController) GetUpdateQStat(ctx iris.Context)
- func (this *QStatController) ParseJSON(json []byte) (interface{}, error)
- func (this *QStatController) RefreshQStat(ctx iris.Context)
- func (this *QStatController) Search(ctx iris.Context)
- type QStatPara
- type ShareController
- func (this *ShareController) GetMine(ctx iris.Context)
- func (this *ShareController) ParseJSON(json []byte) (interface{}, error)
- func (this *ShareController) Search(ctx iris.Context)
- func (this *ShareController) UpdateSector(ctx iris.Context)
- func (this *ShareController) UpdateShares(ctx iris.Context)
- type ShareEventController
- type StatScoreController
- func (this *StatScoreController) CreateScorePercentile(ctx iris.Context)
- func (this *StatScoreController) GetUpdateStatScore(ctx iris.Context)
- func (this *StatScoreController) ParseJSON(json []byte) (interface{}, error)
- func (this *StatScoreController) RefreshStatScore(ctx iris.Context)
- func (this *StatScoreController) Search(ctx iris.Context)
- type StatScorePara
- type WmqyLineController
- func (this *WmqyLineController) FindFollowing(ctx iris.Context)
- func (this *WmqyLineController) FindPreceding(ctx iris.Context)
- func (this *WmqyLineController) FindQExpress(ctx iris.Context)
- func (this *WmqyLineController) FindQForecast(ctx iris.Context)
- func (this *WmqyLineController) FindQPerformance(ctx iris.Context)
- func (this *WmqyLineController) GetUpdateWmqyLine(ctx iris.Context)
- func (this *WmqyLineController) ParseJSON(json []byte) (interface{}, error)
- func (this *WmqyLineController) RefreshWmqyLine(ctx iris.Context)
- func (this *WmqyLineController) StdPath(ctx iris.Context)
- type WmqyLinePara
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BalanceSheetController ¶
type BalanceSheetController struct {
controller.BaseController
}
* 控制层代码需要做数据转换,调用服务层的代码,由于数据转换的结构不一致,因此每个实体(外部rest方式访问)的控制层都需要写一遍
func (*BalanceSheetController) ParseJSON ¶
func (this *BalanceSheetController) ParseJSON(json []byte) (interface{}, error)
type CashFlowController ¶
type CashFlowController struct {
controller.BaseController
}
* 控制层代码需要做数据转换,调用服务层的代码,由于数据转换的结构不一致,因此每个实体(外部rest方式访问)的控制层都需要写一遍
func (*CashFlowController) ParseJSON ¶
func (this *CashFlowController) ParseJSON(json []byte) (interface{}, error)
type DayLineController ¶
type DayLineController struct {
controller.BaseController
}
* 控制层代码需要做数据转换,调用服务层的代码,由于数据转换的结构不一致,因此每个实体(外部rest方式访问)的控制层都需要写一遍
func (*DayLineController) FindAllInOutEvent ¶
func (this *DayLineController) FindAllInOutEvent(ctx iris.Context)
func (*DayLineController) FindCorr ¶
func (this *DayLineController) FindCorr(ctx iris.Context)
func (*DayLineController) FindFlexPoint ¶
func (this *DayLineController) FindFlexPoint(ctx iris.Context)
func (*DayLineController) FindFollowing ¶
func (this *DayLineController) FindFollowing(ctx iris.Context)
func (*DayLineController) FindHighest ¶
func (this *DayLineController) FindHighest(ctx iris.Context)
func (*DayLineController) FindInOutEvent ¶
func (this *DayLineController) FindInOutEvent(ctx iris.Context)
func (*DayLineController) FindLowestest ¶
func (this *DayLineController) FindLowestest(ctx iris.Context)
func (*DayLineController) FindMaCross ¶
func (this *DayLineController) FindMaCross(ctx iris.Context)
func (*DayLineController) FindPreceding ¶
func (this *DayLineController) FindPreceding(ctx iris.Context)
func (*DayLineController) FindRange ¶
func (this *DayLineController) FindRange(ctx iris.Context)
func (*DayLineController) GetUpdateDayLine ¶
func (this *DayLineController) GetUpdateDayLine(ctx iris.Context)
func (*DayLineController) GetUpdateTodayLine ¶
func (this *DayLineController) GetUpdateTodayLine(ctx iris.Context)
func (*DayLineController) ParseJSON ¶
func (this *DayLineController) ParseJSON(json []byte) (interface{}, error)
func (*DayLineController) ParsePath ¶
func (this *DayLineController) ParsePath(ctx iris.Context)
func (*DayLineController) RefreshBeforeMa ¶
func (this *DayLineController) RefreshBeforeMa(ctx iris.Context)
func (*DayLineController) RefreshDayLine ¶
func (this *DayLineController) RefreshDayLine(ctx iris.Context)
func (*DayLineController) RefreshStat ¶
func (this *DayLineController) RefreshStat(ctx iris.Context)
func (*DayLineController) RefreshTodayLine ¶
func (this *DayLineController) RefreshTodayLine(ctx iris.Context)
func (*DayLineController) Search ¶
func (this *DayLineController) Search(ctx iris.Context)
func (*DayLineController) StdPath ¶
func (this *DayLineController) StdPath(ctx iris.Context)
func (*DayLineController) UpdateBeforeMa ¶
func (this *DayLineController) UpdateBeforeMa(ctx iris.Context)
func (*DayLineController) UpdateStat ¶
func (this *DayLineController) UpdateStat(ctx iris.Context)
func (*DayLineController) WriteAllFile ¶
func (this *DayLineController) WriteAllFile(ctx iris.Context)
func (*DayLineController) WriteFile ¶
func (this *DayLineController) WriteFile(ctx iris.Context)
type DayLinePara ¶
type DayLinePara struct { From int `json:"from,omitempty"` Limit int `json:"limit,omitempty"` Orderby string `json:"orderby,omitempty"` Count int64 `json:"count,omitempty"` TsCode string `json:"ts_code,omitempty"` Industry string `json:"industry,omitempty"` Sector string `json:"sector,omitempty"` StartDate int64 `json:"start_date,omitempty"` EndDate int64 `json:"end_date,omitempty"` TradeDate int64 `json:"trade_date,omitempty"` DayCount string `json:"day_count,omitempty"` SrcDayCount string `json:"src_day_count,omitempty"` TargetDayCount string `json:"target_day_count,omitempty"` Cross string `json:"cross,omitempty"` EventCode string `json:"event_code,omitempty"` EventContent string `json:"event_content,omitempty"` FilterParas []interface{} `json:"filter_paras,omitempty"` CompareValue float64 `json:"compare_value,omitempty"` CondNum int `json:"cond_num,omitempty"` }
type EventCondController ¶
type EventCondController struct {
controller.BaseController
}
* 控制层代码需要做数据转换,调用服务层的代码,由于数据转换的结构不一致,因此每个实体(外部rest方式访问)的控制层都需要写一遍
func (*EventCondController) FindGroupby ¶
func (this *EventCondController) FindGroupby(ctx iris.Context)
func (*EventCondController) GetUpdateEventCond ¶
func (this *EventCondController) GetUpdateEventCond(ctx iris.Context)
func (*EventCondController) ParseJSON ¶
func (this *EventCondController) ParseJSON(json []byte) (interface{}, error)
func (*EventCondController) RefreshEventCond ¶
func (this *EventCondController) RefreshEventCond(ctx iris.Context)
func (*EventCondController) Search ¶
func (this *EventCondController) Search(ctx iris.Context)
type EventCondPara ¶
type EventCondPara struct { TsCode string `json:"ts_code,omitempty"` TradeDate int64 `json:"trade_date,omitempty"` StartDate int64 `json:"start_date,omitempty"` EndDate int64 `json:"end_date,omitempty"` EventCode string `json:"event_code,omitempty"` EventType string `json:"event_type,omitempty"` Orderby string `json:"orderby,omitempty"` From int `json:"from"` Limit int `json:"limit"` Count int64 `json:"count"` }
type EventController ¶
type EventController struct {
controller.BaseController
}
* 控制层代码需要做数据转换,调用服务层的代码,由于数据转换的结构不一致,因此每个实体(外部rest方式访问)的控制层都需要写一遍
func (*EventController) FindCacheEvent ¶
func (this *EventController) FindCacheEvent(ctx iris.Context)
func (*EventController) ParseJSON ¶
func (this *EventController) ParseJSON(json []byte) (interface{}, error)
func (*EventController) RefreshCacheEvent ¶
func (this *EventController) RefreshCacheEvent(ctx iris.Context)
type EventFilterController ¶
type EventFilterController struct {
controller.BaseController
}
* 控制层代码需要做数据转换,调用服务层的代码,由于数据转换的结构不一致,因此每个实体(外部rest方式访问)的控制层都需要写一遍
func (*EventFilterController) ParseJSON ¶
func (this *EventFilterController) ParseJSON(json []byte) (interface{}, error)
func (*EventFilterController) RefreshCacheEventFilter ¶
func (this *EventFilterController) RefreshCacheEventFilter(ctx iris.Context)
type ExpressController ¶
type ExpressController struct {
controller.BaseController
}
* 控制层代码需要做数据转换,调用服务层的代码,由于数据转换的结构不一致,因此每个实体(外部rest方式访问)的控制层都需要写一遍
func (*ExpressController) FindByQDate ¶
func (this *ExpressController) FindByQDate(ctx iris.Context)
func (*ExpressController) FindLatest ¶
func (this *ExpressController) FindLatest(ctx iris.Context)
func (*ExpressController) GetUpdateExpress ¶
func (this *ExpressController) GetUpdateExpress(ctx iris.Context)
func (*ExpressController) ParseJSON ¶
func (this *ExpressController) ParseJSON(json []byte) (interface{}, error)
func (*ExpressController) RefreshExpress ¶
func (this *ExpressController) RefreshExpress(ctx iris.Context)
func (*ExpressController) Search ¶
func (this *ExpressController) Search(ctx iris.Context)
type FilterCondController ¶
type FilterCondController struct {
controller.BaseController
}
* 控制层代码需要做数据转换,调用服务层的代码,由于数据转换的结构不一致,因此每个实体(外部rest方式访问)的控制层都需要写一遍
func (*FilterCondController) ParseJSON ¶
func (this *FilterCondController) ParseJSON(json []byte) (interface{}, error)
type FminLineController ¶
type FminLineController struct {
controller.BaseController
}
* 控制层代码需要做数据转换,调用服务层的代码,由于数据转换的结构不一致,因此每个实体(外部rest方式访问)的控制层都需要写一遍
func (*FminLineController) ParseJSON ¶
func (this *FminLineController) ParseJSON(json []byte) (interface{}, error)
func (*FminLineController) ParsePath ¶
func (this *FminLineController) ParsePath(ctx iris.Context)
type ForecastController ¶
type ForecastController struct {
controller.BaseController
}
* 控制层代码需要做数据转换,调用服务层的代码,由于数据转换的结构不一致,因此每个实体(外部rest方式访问)的控制层都需要写一遍
func (*ForecastController) FindByQDate ¶
func (this *ForecastController) FindByQDate(ctx iris.Context)
func (*ForecastController) FindLatest ¶
func (this *ForecastController) FindLatest(ctx iris.Context)
func (*ForecastController) GetUpdateForecast ¶
func (this *ForecastController) GetUpdateForecast(ctx iris.Context)
func (*ForecastController) ParseJSON ¶
func (this *ForecastController) ParseJSON(json []byte) (interface{}, error)
func (*ForecastController) RefreshForecast ¶
func (this *ForecastController) RefreshForecast(ctx iris.Context)
func (*ForecastController) Search ¶
func (this *ForecastController) Search(ctx iris.Context)
type IncomeController ¶
type IncomeController struct {
controller.BaseController
}
* 控制层代码需要做数据转换,调用服务层的代码,由于数据转换的结构不一致,因此每个实体(外部rest方式访问)的控制层都需要写一遍
func (*IncomeController) ParseJSON ¶
func (this *IncomeController) ParseJSON(json []byte) (interface{}, error)
type MinLineController ¶
type MinLineController struct {
controller.BaseController
}
* 控制层代码需要做数据转换,调用服务层的代码,由于数据转换的结构不一致,因此每个实体(外部rest方式访问)的控制层都需要写一遍
func (*MinLineController) FindMinLines ¶
func (this *MinLineController) FindMinLines(ctx iris.Context)
func (*MinLineController) GetUpdateMinLine ¶
func (this *MinLineController) GetUpdateMinLine(ctx iris.Context)
func (*MinLineController) GetUpdateTodayMinLine ¶
func (this *MinLineController) GetUpdateTodayMinLine(ctx iris.Context)
func (*MinLineController) ParseJSON ¶
func (this *MinLineController) ParseJSON(json []byte) (interface{}, error)
func (*MinLineController) ParsePath ¶
func (this *MinLineController) ParsePath(ctx iris.Context)
func (*MinLineController) RefreshMinLine ¶
func (this *MinLineController) RefreshMinLine(ctx iris.Context)
func (*MinLineController) RefreshTodayMinLine ¶
func (this *MinLineController) RefreshTodayMinLine(ctx iris.Context)
type PerformanceController ¶
type PerformanceController struct {
controller.BaseController
}
* 控制层代码需要做数据转换,调用服务层的代码,由于数据转换的结构不一致,因此每个实体(外部rest方式访问)的控制层都需要写一遍
func (*PerformanceController) FindByQDate ¶
func (this *PerformanceController) FindByQDate(ctx iris.Context)
func (*PerformanceController) FindLatest ¶
func (this *PerformanceController) FindLatest(ctx iris.Context)
func (*PerformanceController) GetUpdatePerformance ¶
func (this *PerformanceController) GetUpdatePerformance(ctx iris.Context)
func (*PerformanceController) ParseJSON ¶
func (this *PerformanceController) ParseJSON(json []byte) (interface{}, error)
func (*PerformanceController) RefreshPerformance ¶
func (this *PerformanceController) RefreshPerformance(ctx iris.Context)
func (*PerformanceController) Search ¶
func (this *PerformanceController) Search(ctx iris.Context)
type PerformancePara ¶
type PortfolioStatController ¶
type PortfolioStatController struct {
controller.BaseController
}
* 控制层代码需要做数据转换,调用服务层的代码,由于数据转换的结构不一致,因此每个实体(外部rest方式访问)的控制层都需要写一遍
func (*PortfolioStatController) FindPortfolioStat ¶
func (this *PortfolioStatController) FindPortfolioStat(ctx iris.Context)
func (*PortfolioStatController) GetUpdatePortfolioStat ¶
func (this *PortfolioStatController) GetUpdatePortfolioStat(ctx iris.Context)
func (*PortfolioStatController) ParseJSON ¶
func (this *PortfolioStatController) ParseJSON(json []byte) (interface{}, error)
func (*PortfolioStatController) RefreshPortfolioStat ¶
func (this *PortfolioStatController) RefreshPortfolioStat(ctx iris.Context)
type PortfolioStatPara ¶
type ProcessLogController ¶
type ProcessLogController struct {
controller.BaseController
}
func (*ProcessLogController) ParseJSON ¶
func (this *ProcessLogController) ParseJSON(json []byte) (interface{}, error)
func (*ProcessLogController) Schedule ¶
func (this *ProcessLogController) Schedule(ctx iris.Context)
type QPerformanceController ¶
type QPerformanceController struct {
controller.BaseController
}
* 控制层代码需要做数据转换,调用服务层的代码,由于数据转换的结构不一致,因此每个实体(外部rest方式访问)的控制层都需要写一遍
func (*QPerformanceController) FindPercentRank ¶
func (this *QPerformanceController) FindPercentRank(ctx iris.Context)
func (*QPerformanceController) FindStat ¶
func (this *QPerformanceController) FindStat(ctx iris.Context)
func (*QPerformanceController) FindStdQPerformance ¶
func (this *QPerformanceController) FindStdQPerformance(ctx iris.Context)
func (*QPerformanceController) GetUpdateDayQPerformance ¶
func (this *QPerformanceController) GetUpdateDayQPerformance(ctx iris.Context)
func (*QPerformanceController) GetUpdateWmqyQPerformance ¶
func (this *QPerformanceController) GetUpdateWmqyQPerformance(ctx iris.Context)
func (*QPerformanceController) ParseJSON ¶
func (this *QPerformanceController) ParseJSON(json []byte) (interface{}, error)
func (*QPerformanceController) RefreshQPerformance ¶
func (this *QPerformanceController) RefreshQPerformance(ctx iris.Context)
func (*QPerformanceController) Search ¶
func (this *QPerformanceController) Search(ctx iris.Context)
type QPerformancePara ¶
type QPerformancePara struct { Terms []int `json:"terms,omitempty"` Term int `json:"term,omitempty"` SourceOptions []string `json:"source_options,omitempty"` From int `json:"from,omitempty"` Limit int `json:"limit,omitempty"` Orderby string `json:"orderby,omitempty"` Count int64 `json:"count,omitempty"` Keyword string `json:"keyword,omitempty"` TsCode string `json:"ts_code,omitempty"` StartDate string `json:"start_date,omitempty"` EndDate string `json:"end_date,omitempty"` TradeDate int64 `json:"trade_date,omitempty"` RankType string `json:"rank_type,omitempty"` StdType int `json:"std_type,omitempty"` Winsorize bool `json:"winsorize,omitempty"` }
type QStatController ¶
type QStatController struct {
controller.BaseController
}
* 控制层代码需要做数据转换,调用服务层的代码,由于数据转换的结构不一致,因此每个实体(外部rest方式访问)的控制层都需要写一遍
func (*QStatController) FindQStat ¶
func (this *QStatController) FindQStat(ctx iris.Context)
func (*QStatController) GetUpdateQStat ¶
func (this *QStatController) GetUpdateQStat(ctx iris.Context)
func (*QStatController) ParseJSON ¶
func (this *QStatController) ParseJSON(json []byte) (interface{}, error)
func (*QStatController) RefreshQStat ¶
func (this *QStatController) RefreshQStat(ctx iris.Context)
func (*QStatController) Search ¶
func (this *QStatController) Search(ctx iris.Context)
type QStatPara ¶
type QStatPara struct { Terms []int `json:"terms,omitempty"` SourceOptions []string `json:"source_options,omitempty"` From int `json:"from,omitempty"` Limit int `json:"limit,omitempty"` Orderby string `json:"orderby,omitempty"` Count int64 `json:"count,omitempty"` Keyword string `json:"keyword,omitempty"` }
type ShareController ¶
type ShareController struct {
}* 控制层代码需要做数据转换,调用服务层的代码,由于数据转换的结构不一致,因此每个实体(外部rest方式访问)的控制层都需要写一遍
func (*ShareController) GetMine ¶
func (this *ShareController) GetMine(ctx iris.Context)
func (*ShareController) ParseJSON ¶
func (this *ShareController) ParseJSON(json []byte) (interface{}, error)
func (*ShareController) Search ¶
func (this *ShareController) Search(ctx iris.Context)
func (*ShareController) UpdateSector ¶
func (this *ShareController) UpdateSector(ctx iris.Context)
func (*ShareController) UpdateShares ¶
func (this *ShareController) UpdateShares(ctx iris.Context)
type ShareEventController ¶
type ShareEventController struct {
}* 控制层代码需要做数据转换,调用服务层的代码,由于数据转换的结构不一致,因此每个实体(外部rest方式访问)的控制层都需要写一遍
func (*ShareEventController) GetMine ¶
func (this *ShareEventController) GetMine(ctx iris.Context)
func (*ShareEventController) ParseJSON ¶
func (this *ShareEventController) ParseJSON(json []byte) (interface{}, error)
type StatScoreController ¶
type StatScoreController struct {
controller.BaseController
}
* 控制层代码需要做数据转换,调用服务层的代码,由于数据转换的结构不一致,因此每个实体(外部rest方式访问)的控制层都需要写一遍
func (*StatScoreController) CreateScorePercentile ¶
func (this *StatScoreController) CreateScorePercentile(ctx iris.Context)
func (*StatScoreController) GetUpdateStatScore ¶
func (this *StatScoreController) GetUpdateStatScore(ctx iris.Context)
func (*StatScoreController) ParseJSON ¶
func (this *StatScoreController) ParseJSON(json []byte) (interface{}, error)
func (*StatScoreController) RefreshStatScore ¶
func (this *StatScoreController) RefreshStatScore(ctx iris.Context)
func (*StatScoreController) Search ¶
func (this *StatScoreController) Search(ctx iris.Context)
type StatScorePara ¶
type StatScorePara struct { Terms []int `json:"terms,omitempty"` ScoreOptions []string `json:"score_options,omitempty"` From int `json:"from,omitempty"` Limit int `json:"limit,omitempty"` Orderby string `json:"orderby,omitempty"` Count int64 `json:"count,omitempty"` Keyword string `json:"keyword,omitempty"` TsCode string `json:"tscode,omitempty"` }
type WmqyLineController ¶
type WmqyLineController struct {
controller.BaseController
}
* 控制层代码需要做数据转换,调用服务层的代码,由于数据转换的结构不一致,因此每个实体(外部rest方式访问)的控制层都需要写一遍
func (*WmqyLineController) FindFollowing ¶
func (this *WmqyLineController) FindFollowing(ctx iris.Context)
func (*WmqyLineController) FindPreceding ¶
func (this *WmqyLineController) FindPreceding(ctx iris.Context)
func (*WmqyLineController) FindQExpress ¶
func (this *WmqyLineController) FindQExpress(ctx iris.Context)
func (*WmqyLineController) FindQForecast ¶
func (this *WmqyLineController) FindQForecast(ctx iris.Context)
func (*WmqyLineController) FindQPerformance ¶
func (this *WmqyLineController) FindQPerformance(ctx iris.Context)
func (*WmqyLineController) GetUpdateWmqyLine ¶
func (this *WmqyLineController) GetUpdateWmqyLine(ctx iris.Context)
func (*WmqyLineController) ParseJSON ¶
func (this *WmqyLineController) ParseJSON(json []byte) (interface{}, error)
func (*WmqyLineController) RefreshWmqyLine ¶
func (this *WmqyLineController) RefreshWmqyLine(ctx iris.Context)
func (*WmqyLineController) StdPath ¶
func (this *WmqyLineController) StdPath(ctx iris.Context)
type WmqyLinePara ¶
type WmqyLinePara struct { From int `json:"from,omitempty"` Limit int `json:"limit,omitempty"` Orderby string `json:"orderby,omitempty"` Count int64 `json:"count,omitempty"` TsCode string `json:"ts_code,omitempty"` StartDate string `json:"start_date,omitempty"` EndDate string `json:"end_date,omitempty"` TradeDate int64 `json:"trade_date,omitempty"` LineType int `json:"line_type,omitempty"` }