重构数据引擎和报表引擎
This commit is contained in:
@@ -1,16 +1,11 @@
|
||||
package api_feature
|
||||
|
||||
// FetchStatus 数据获取状态
|
||||
// FetchStatus 数据拉取状态(暂未使用,保留供未来扩展)
|
||||
type FetchStatus string
|
||||
|
||||
const (
|
||||
FetchStatusPending FetchStatus = "pending" // 待执行
|
||||
FetchStatusRunning FetchStatus = "running" // 执行中
|
||||
FetchStatusSuccess FetchStatus = "success" // 成功
|
||||
FetchStatusFailed FetchStatus = "failed" // 失败
|
||||
FetchStatusRateLimit FetchStatus = "rate_limit" // 触发限流
|
||||
FetchStatusPending FetchStatus = "pending"
|
||||
FetchStatusRunning FetchStatus = "running"
|
||||
FetchStatusCompleted FetchStatus = "completed"
|
||||
FetchStatusFailed FetchStatus = "failed"
|
||||
)
|
||||
|
||||
func (f FetchStatus) String() string {
|
||||
return string(f)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user