Open LJjack opened 4 years ago
{ "code": 0, "data": "Value", "message": "string", "status": "success" } 后台一般返回这种样式,data有多种类型,怎样修改json的data可以让生产的model是任意类型dynamic,或者生产的model可以是泛型的
{ "@JsonKey() dynamic":"xxxxx", } 这样?
{ "code": 0, "data": "Value", "message": "string", "status": "success" } 后台一般返回这种样式,data有多种类型,怎样修改json的data可以让生产的model是任意类型dynamic,或者生产的model可以是泛型的