This commit is contained in:
yanweidong
2026-01-24 23:44:25 +08:00
parent d636bf502b
commit 677ad2c2ef
4 changed files with 823 additions and 241 deletions

View File

@@ -1,14 +1,16 @@
package main
import (
"encoding/json"
"fmt"
"time"
"git.apinb.com/dataset/stock/internal/logic/a"
)
func main() {
t, err := time.Parse("20060102", "20230101")
if err != nil {
fmt.Println("error", err)
}
fmt.Println(t)
a.NewApiClient()
reply, err := a.SetFinaIndicator("000012.SZ", "20230101", "20260124")
fmt.Println("Err", err)
jsonBytes, _ := json.Marshal(reply.Data.Items)
fmt.Println("Reply", string(jsonBytes))
}