接口传自定义参数,比如list之类,一般都是转为json对象,然后服务器再次解析。这边唯一要注意的就是,自定义对象需要序列化。

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

小程序 传递对象 string 。

结束!
接口传自定义参数,比如list之类,一般都是转为json对象,然后服务器再次解析。这边唯一要注意的就是,自定义对象需要序列化。
java后台接受参数,然后转为List对象。
小程序 传递对象 string 。
结束!
本文标题:springboot 接口传 自定义参数 List
本文链接:https://www.haomeiwen.com/subject/hlpqectx.html
网友评论