优化Result
This commit is contained in:
@ -240,5 +240,5 @@ func Result(gjsonResult gjson.Result) gjson.Result {
|
||||
if IsArray(gjsonResult) {
|
||||
return Array(gjsonResult)
|
||||
}
|
||||
return gjsonResult
|
||||
return Object(gjsonResult)
|
||||
}
|
||||
|
Reference in New Issue
Block a user