fix logger,cache

This commit is contained in:
2025-10-02 18:06:23 +08:00
parent 10ee9bba10
commit f934472e50
9 changed files with 869 additions and 12 deletions

View File

@@ -29,7 +29,7 @@ var (
Type_Create string = "create"
)
func NewLogs(endpoint string, data []*LogItem) {
func PushLog(endpoint string, data []*LogItem) {
jsonBytes, _ := json.Marshal(data)
go utils.HttpPost(endpoint, nil, jsonBytes)