From 450083f7d9d5b687c732acddefb56632f7b3d5ad Mon Sep 17 00:00:00 2001
From: shikeying <shikeying@163.com>
Date: 星期一, 14 十一月 2022 12:53:39 +0800
Subject: [PATCH] 添加文本推荐API接口

---
 deploy-jar-template/src/main/resources/application-dev.yml |   27 ++++++++++++++++++++-------
 1 files changed, 20 insertions(+), 7 deletions(-)

diff --git a/deploy-jar-template/src/main/resources/application-dev.yml b/deploy-jar-template/src/main/resources/application-dev.yml
index 6f39844..5d3d644 100644
--- a/deploy-jar-template/src/main/resources/application-dev.yml
+++ b/deploy-jar-template/src/main/resources/application-dev.yml
@@ -8,7 +8,7 @@
 #    password: Bjjmy_63661766
     password: Bjjmy_2020
 #    driver-class-name: sunje.goldilocks.jdbc.GoldilocksDriver
-    url: jdbc:mysql://124.70.39.177:3306/train_recommend?useUnicode=true&characterEncoding=UTF-8&useSSL=false
+    url: jdbc:mysql://116.198.40.76:3306/train_recommend?useUnicode=true&characterEncoding=UTF-8&useSSL=false
     type: com.walker.jdbc.ds.DefaultDataSource
     hikari:
       minimum-idle: 5
@@ -64,7 +64,7 @@
   cache:
     redis-enabled: false
 
-  # 鐩镐技搴﹀垎鏋愭ā鍧椾娇鐢�
+  # 鐩镐技搴﹀垎鏋愭ā鍧椾娇鐢紙鏆傛椂搴熷純锛�
   similarity:
     # 鏄惁鍚敤鐩镐技搴︽ā鍧楋紝濡傛灉绂佺敤鍒欒纭繚娉ㄥ叆鏃舵敮鎸佷负绌�
     enabled: true
@@ -75,7 +75,7 @@
 
   # 璋冨害鍣ㄦā鍧楋紝鏄惁鍚敤
   scheduler:
-    enabled: true
+    enabled: false
 
   # 鏁版嵁閲囬泦妯″潡
   gather:
@@ -92,17 +92,30 @@
 #    data-folder: /opt/ai/video/
 
     # 瑙嗛鐩镐技搴I鏈嶅姟URL
-    ai-service: http://121.36.40.27:12345
+#    ai-service: http://121.36.40.27:12345
+    ai-service: http://127.0.0.1:8801
 
     # 鎺ㄨ崘鐩镐技瑙嗛(绠楁硶)鍓嶅灏戜釜
     top-n: 40
 
     # 娴嬭瘯妯″紡锛屽鏋滄槸鍒欎粎鐢熸垚鍥哄畾娴嬭瘯鏁版嵁锛屾寮忛儴缃查渶瑕佹敼涓� false
-    test-mode: true
+    test-mode: false
 
     #涓氬姟瑙嗛鎵�鍦ㄦ暟鎹簱淇℃伅
-    business-datasource-url: 124.70.39.177
+#    business-datasource-url: 116.198.40.76
+    business-datasource-url: 127.0.0.1
     business-datasource-port: 3306
-    business-datasource-service: train_test
+    business-datasource-service: train_zs
     business-datasource-authentication: root
     business-datasource-certification: Bjjmy_2020
+
+  text:
+    # 鏂囨湰鐩镐技搴︽湇鍔RL
+    ai-service: http://116.198.39.83:54321
+
+#sftp:
+#  host: 124.70.39.177
+#  port: 22
+#  user: mysftp
+#  pass: Bjjmy_2020
+#  base: /train

--
Gitblit v1.9.1