|
@ -157,14 +157,16 @@ public class BasicZuulFilter extends ZuulFilter {
|
|
|
Map<String, List<String>> map = ctx.getRequestQueryParams();
|
|
|
String aes_decodedStr = AesEncryptUtils.decrypt(map.get("object").toString());
|
|
|
JSONObject object = JSONObject.parseObject(aes_decodedStr);
|
|
|
for(String str:object.keySet()){
|
|
|
List<String> arrayList = new ArrayList<>();
|
|
|
String value = object.getString(str);
|
|
|
if(object!=null){
|
|
|
for(String str:object.keySet()){
|
|
|
List<String> arrayList = new ArrayList<>();
|
|
|
String value = object.getString(str);
|
|
|
/* if (sqlValidate(value)){
|
|
|
throw new Exception("Illegal parameter");
|
|
|
}*/
|
|
|
arrayList.add(value);
|
|
|
map.put(str,arrayList);
|
|
|
arrayList.add(value);
|
|
|
map.put(str,arrayList);
|
|
|
}
|
|
|
}
|
|
|
map.remove("object");
|
|
|
ctx.setRequestQueryParams(map);
|