feat(app): update

This commit is contained in:
Yangtao
2025-11-19 14:24:13 +08:00
parent 1eac66d7fd
commit 0c34585649
329 changed files with 10760 additions and 281 deletions

View File

@ -14,7 +14,7 @@ func NewStringBuilder() *StringBuilder {
return &StringBuilder{buf: bytes.Buffer{}}
}
func (this *StringBuilder) Append(obj interface{}) *StringBuilder {
func (this *StringBuilder) Append(obj any) *StringBuilder {
this.buf.WriteString(fmt.Sprintf("%v", obj))
return this
}
@ -24,7 +24,7 @@ func (this *StringBuilder) ToString() string {
}
// 字符串转int32
func JsonStr(v interface{}) string {
func JsonStr(v any) string {
bys, _ := json.Marshal(v)
return string(bys)
}