Forráskód Böngészése

feat:修改apllication便于部署

白白 1 éve
szülő
commit
d83290d167
1 módosított fájl, 4 hozzáadás és 8 törlés
  1. 4 8
      application.yaml

+ 4 - 8
application.yaml

@@ -6,7 +6,6 @@ spring:
     driver-class-name: com.mysql.cj.jdbc.Driver
     username: root
     password: eai123456
-    #数据库配置更新
     url: jdbc:mysql://139.196.252.184:3306/eai?useSSL=false&serverTimezone=UTC&useUnicode=true&characterEncoding=utf8&allowPublicKeyRetrieval=true
   data:
     mongodb:
@@ -45,9 +44,9 @@ aliyun:
     accessKeySecret: 2yvtVYE1qAZEgm0ChvdMqhp0LhB5Lj
     bucketName: eai-files
 
-#prod改成dev
+
 logging:
-  config: classpath:log4j2-dev.xml
+  config: classpath:log4j2-prod.xml
 
 openai:
   chatgpt:
@@ -61,7 +60,7 @@ config:
     ChatGLM3:
       url: http://10.58.0.2:6678
     ChatGLM4:
-      url: http://47.94.251.162:6677
+      url: http://47.94.251.162:6678
       token: seec0der
       modelName: glm4-9b-chat
     QWen14B:
@@ -75,7 +74,4 @@ config:
 proxy:
   enabled: false
   host: 20.111.54.16
-  port: 8090
-
-
-
+  port: 8123