修改排序,更多埋点信息

This commit is contained in:
2025-04-13 12:31:51 +08:00
parent dc10092f7a
commit 94e1f66288
5 changed files with 23 additions and 9 deletions

11
util/json.go Normal file

@ -0,0 +1,11 @@
package util
import "encoding/json"
func ToJson(v interface{}) string {
b, err := json.Marshal(v)
if err != nil {
return ""
}
return string(b)
}