AI分析功能:LLM Key 改为数据库管理,支持管理员后台配置

This commit is contained in:
fish
2026-05-10 16:21:15 +08:00
parent ad9edf7ad4
commit 99c2a5bcbf
12 changed files with 814 additions and 23 deletions

View File

@@ -13,6 +13,7 @@ type Deps struct {
Auth *store.AuthStore
Futures *store.FuturesStore
TushareURL string
AIConfig *AIConfig
}
func writeJSON(w http.ResponseWriter, status int, body any) {