[feat] 移除 ResFieldByMap, ResFieldByAnys 类型

This commit is contained in:
2023-06-23 00:12:10 +08:00
parent 6ccef0fbb8
commit 0bf1b9dd39
2 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -112,7 +112,7 @@ func (this *QueryField) ToStructField(tags ...string) reflect.StructField {
case contracts.QueryDataType_Bool:
typ = reflect.TypeOf(true)
case contracts.QueryDataType_Array:
typ = reflect.TypeOf(res_type.ResFieldByAnys{})
typ = reflect.TypeOf([]any{})
case contracts.QueryDataType_Json:
typ = reflect.TypeOf(map[string]any{})
}