重构数据引擎和报表引擎

This commit is contained in:
2026-06-11 13:06:54 +08:00
parent 285a0fc632
commit 419473f266
53 changed files with 8434 additions and 375 deletions

View File

@@ -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)
}