优化Result

This commit is contained in:
2024-12-04 20:15:42 +08:00
parent ee2326af91
commit 355144b623
2 changed files with 40 additions and 1 deletions

View File

@ -240,5 +240,5 @@ func Result(gjsonResult gjson.Result) gjson.Result {
if IsArray(gjsonResult) {
return Array(gjsonResult)
}
return gjsonResult
return Object(gjsonResult)
}