go-zero
go-zero copied to clipboard
How to use templates for `goctl api dart`?
go 生成的 dart代码,数组toJson 少了个toList()方法,前端现在对象里的数组toJson 之后 是 materials: () ,应该是 materials: [], 这导致后台解析不了 json 数据
go 生成的 dart代码,数组toJson 少了个toList()方法,前端现在对象里的数组toJson 之后 是 materials: () ,应该是 materials: [], 这导致后台解析不了 json 数据