浏览代码

修改配置文件

syh 4 年之前
父节点
当前提交
cea2ade405

+ 1 - 2
jeecg-boot-module-system/src/main/resources/application.yml

@@ -1,7 +1,6 @@
 spring:
   profiles:
-#    active: @activatedProperties@
-    active: wps
+    active: @activatedProperties@
 swagger:
   production: false
   basic:

+ 2 - 4
jeecg-boot-module-system/src/test/java/org/jeecg/SampleTest.java

@@ -106,9 +106,7 @@ public class SampleTest {
 
     @Test
     public void loadKuaishouAgentData() {
-        for (int i = 0; i < 30; i++) {
-            String currentDate = DateUtils.formatDate(DateUtils.addDay(new Date(), -i));
-            kuaishouReportDailyAgentService.getReport(currentDate, DateUtils.getNowDate("yyyy-MM-dd"));
-        }
+        String currentDate = DateUtils.formatDate(DateUtils.addDay(new Date(),-1));
+        kuaishouReportDailyAgentService.getReport(currentDate,DateUtils.getNowDate("yyyy-MM-dd"));
     }
 }