Browse Source

dcos: 修改部署文件

ChenSiTong 6 years ago
parent
commit
bad4a6c1c3

+ 1 - 1
src/main/java/nju/seec/helper/api/dataanalysis/EventApi.java

@@ -30,7 +30,7 @@ public class EventApi {
 
     @Async
     public void reportEvent(Event event) {
-        System.out.println(event);
+//        System.out.println(event);
 //            restRequestUtil.sendPostRequest(eventReportUrl, event, Boolean.class);
     }
 

+ 1 - 1
src/main/java/nju/seec/helper/api/dataanalysis/ExerciseApi.java

@@ -27,7 +27,7 @@ public class ExerciseApi {
 
     @Async
     public void reportExercise(List<ExerciseRecord> exerciseRecords) {
-        System.out.println(exerciseRecords);
+//        System.out.println(exerciseRecords);
 //        restRequestUtil.sendPostRequest(exerciseReportUrl, exerciseRecords, Boolean.class);
     }
 

+ 1 - 1
src/main/resources/application-deploy.yml

@@ -59,7 +59,7 @@ aliyun:
 #    signName: seeccoder
 #    templateCode: SMS_181555598
 bok:
-  api-url: http://120.78.159.171:6060/api
+  api-url: http://localhost:3909/api
   question-cache-name: ${helper.sys-name}_bok_question
   knowledge-cache-name: ${helper.sys-name}_bok_knowledge
   question:

+ 1 - 1
src/main/resources/application-dev.yml

@@ -57,7 +57,7 @@ aliyun:
 #    signName: seeccoder
 #    templateCode: SMS_181555598
 bok:
-  api-url: http://120.78.159.171:6060/api
+  api-url: http://bok.seecoder.cn/api
   question-cache-name: ${helper.sys-name}_bok_question
   knowledge-cache-name: ${helper.sys-name}_bok_knowledge
   question: