This commit is contained in:
2026-01-13 01:08:10 +08:00
parent 9fd7eac2c8
commit fcf611e22b
8 changed files with 140 additions and 18 deletions

11
internal/logic/a.go Normal file
View File

@@ -0,0 +1,11 @@
package logic
import tushare "github.com/ShawnRong/tushare-go"
var (
TushareClient *tushare.TuShare
)
func NewApiClient(){
TushareClient = tushare.New("你的token")
}

View File

@@ -1,15 +0,0 @@
package logic
import (
"fmt"
"io"
"github.com/gin-gonic/gin"
)
func Hook(ctx *gin.Context) {
fmt.Println("BODY:")
reqBody, _ := io.ReadAll(ctx.Request.Body)
fmt.Println(string(reqBody))
return
}