{"beginDate":"2019-04-01","endDate":"2019-04-25","indexCode":"000001","current":1,"size":"2","indexArray":[{"parentId":0,"childId":"0,1"}]}:
$param['indexArray'] = $request->get('indexArray'); $param['indexArray'] = json_decode($param['indexArray'] ,true);
$argument = json_encode($argument);
indexArray是一个字符串,需要json_decode一下转行成php的数组,再重新json_incode一下转换成字符串调用java那边的接口