mirror of
https://gitee.com/dromara/mayfly-go
synced 2025-11-25 10:30:25 +08:00
refactor: 新增base.Repo与base.App,重构repo与app层代码
This commit is contained in:
@@ -114,7 +114,7 @@ func ToString(value any) string {
|
||||
case uint64:
|
||||
return strconv.FormatUint(it, 10)
|
||||
case []byte:
|
||||
return string(value.([]byte))
|
||||
return string(it)
|
||||
default:
|
||||
newValue, _ := json.Marshal(value)
|
||||
return string(newValue)
|
||||
|
||||
Reference in New Issue
Block a user