微信小程序端代码
java 后台接受(错误)干掉中括号
原因:在java端接收到以后的不是数组了直接变为string,本来一直使用数组遍历,后来发现根本不行,
public Messages addtheorderTb(TheorderTb theorderTb,@RequestParam(value = "userId") Long userId,@RequestParam(value="spIdarray[]") String[] spIdarray)
后台接受类型修改为 String spIdarray
JSONArray 处理
JSONArray obj = JSON.parseArray(images);
List