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 | 22 +++++++++++++++++----- 1 files changed, 17 insertions(+), 5 deletions(-) diff --git a/deploy-jar-template/src/main/resources/application-dev.yml b/deploy-jar-template/src/main/resources/application-dev.yml index 30d170d..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: @@ -102,8 +102,20 @@ 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