|
|
@@ -79,23 +79,23 @@ public class YfzdController extends KdController {
|
|
|
ExcelUtil.export(response, "研发制度数据" + DateUtil.time(), "研发制度数据表", list, YfzdExcel.class);
|
|
|
}
|
|
|
|
|
|
- public static void main(String[] args) {
|
|
|
- JSONArray jsonArray = new JSONArray();
|
|
|
- JSONObject jsonObject = new JSONObject();
|
|
|
- jsonObject.put("url", "http://sxdhyig3c.hn-bkt.clouddn.com/upload/20250702/864da644cc7041f5414c55c1a6f625c7.png");
|
|
|
- jsonObject.put("fileName", "111.png");
|
|
|
- jsonArray.add(jsonObject);
|
|
|
- jsonObject = new JSONObject();
|
|
|
- jsonObject.put("url", "http://sxdhyig3c.hn-bkt.clouddn.com/upload/20250702/864da644cc7041f5414c55c1a6f625c7.png");
|
|
|
- jsonObject.put("fileName", "222.png");
|
|
|
- jsonArray.add(jsonObject);
|
|
|
- jsonObject = new JSONObject();
|
|
|
- jsonObject.put("url", "http://sxdhyig3c.hn-bkt.clouddn.com/upload/20250702/864da644cc7041f5414c55c1a6f625c7.png");
|
|
|
- jsonObject.put("fileName", "333.png");
|
|
|
- jsonArray.add(jsonObject);
|
|
|
- System.out.println(jsonArray.toJSONString());
|
|
|
-
|
|
|
-// "[{\"fileName\":\"111.png\",\"url\":\"http://sxdhyig3c.hn-bkt.clouddn.com/upload/20250702/864da644cc7041f5414c55c1a6f625c7.png\"},{\"fileName\":\"222.png\",\"url\":\"http://sxdhyig3c.hn-bkt.clouddn.com/upload/20250702/864da644cc7041f5414c55c1a6f625c7.png\"},{\"fileName\":\"333.png\",\"url\":\"http://sxdhyig3c.hn-bkt.clouddn.com/upload/20250702/864da644cc7041f5414c55c1a6f625c7.png\"}]\n"
|
|
|
- }
|
|
|
+// public static void main(String[] args) {
|
|
|
+// JSONArray jsonArray = new JSONArray();
|
|
|
+// JSONObject jsonObject = new JSONObject();
|
|
|
+// jsonObject.put("url", "http://sxdhyig3c.hn-bkt.clouddn.com/upload/20250702/864da644cc7041f5414c55c1a6f625c7.png");
|
|
|
+// jsonObject.put("fileName", "111.png");
|
|
|
+// jsonArray.add(jsonObject);
|
|
|
+// jsonObject = new JSONObject();
|
|
|
+// jsonObject.put("url", "http://sxdhyig3c.hn-bkt.clouddn.com/upload/20250702/864da644cc7041f5414c55c1a6f625c7.png");
|
|
|
+// jsonObject.put("fileName", "222.png");
|
|
|
+// jsonArray.add(jsonObject);
|
|
|
+// jsonObject = new JSONObject();
|
|
|
+// jsonObject.put("url", "http://sxdhyig3c.hn-bkt.clouddn.com/upload/20250702/864da644cc7041f5414c55c1a6f625c7.png");
|
|
|
+// jsonObject.put("fileName", "333.png");
|
|
|
+// jsonArray.add(jsonObject);
|
|
|
+// System.out.println(jsonArray.toJSONString());
|
|
|
+//
|
|
|
+//// "[{\"fileName\":\"111.png\",\"url\":\"http://sxdhyig3c.hn-bkt.clouddn.com/upload/20250702/864da644cc7041f5414c55c1a6f625c7.png\"},{\"fileName\":\"222.png\",\"url\":\"http://sxdhyig3c.hn-bkt.clouddn.com/upload/20250702/864da644cc7041f5414c55c1a6f625c7.png\"},{\"fileName\":\"333.png\",\"url\":\"http://sxdhyig3c.hn-bkt.clouddn.com/upload/20250702/864da644cc7041f5414c55c1a6f625c7.png\"}]\n"
|
|
|
+// }
|
|
|
|
|
|
}
|