Explorar el Código

修改json字段

梅杰 hace 6 años
padre
commit
9a355ab874
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/main/java/com/mooctest/service/FinalReportService.java

+ 1 - 1
src/main/java/com/mooctest/service/FinalReportService.java

@@ -101,7 +101,7 @@ public class FinalReportService {
         project.put("reports", finalReports);
         projects.add(project);
         root.put("projects", projects);
-        root.put("menu", new JSONArray().fluentAdd("众包测试报告"));
+        root.put("menus", new JSONArray().fluentAdd("众包测试报告"));
 
         JSONObject projectStatistics = new JSONObject();
         projectStatistics.put("categorys", genAttrArray(ReportUtil.category2String));