升级接口约束

This commit is contained in:
2025-05-04 13:59:08 +08:00
parent 0c3d7b7e92
commit 8d68e6106e
7 changed files with 22 additions and 4 deletions

View File

@ -33,6 +33,10 @@ func init() {
type ownJSON struct {
}
func (oj *ownJSON) Unmarshal(byteData []byte, receiver any) error {
return oj.UnmarshalWithNumber(byteData, receiver)
}
// UnmarshalWithNumber 解析json
//
// Author : go_developer@163.com<白茶清欢>