springboot 接口传 自定义参数 List
2019-08-26 本文已影响0人
风也醉
接口传自定义参数,比如list之类,一般都是转为json对象,然后服务器再次解析。这边唯一要注意的就是,自定义对象需要序列化。
序列化对象
java后台接受参数,然后转为List对象。
java后台接口
小程序 传递对象 string 。
wechat
结束!
2019-08-26 本文已影响0人
风也醉
接口传自定义参数,比如list之类,一般都是转为json对象,然后服务器再次解析。这边唯一要注意的就是,自定义对象需要序列化。

java后台接受参数,然后转为List对象。

小程序 传递对象 string 。

结束!