Ver Fonte

1.修改context path

slambb há 2 anos atrás
pai
commit
f7465d7689

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

@@ -57,7 +57,7 @@ wx:
 
 server:
   servlet:
-    context-path: /api_dev
+    context-path: /hrb_api_dev
 
 #阿里云
 aliyun:

+ 5 - 5
src/main/resources/application-prd.yml

@@ -4,9 +4,9 @@ spring:
       on-profile: prd #生产环境
   datasource:
     driver-class-name: com.mysql.cj.jdbc.Driver
-    url: jdbc:mysql://172.17.16.9:3306/TPlat?useUnicode=true&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&useSSL=false&serverTimezone=GMT%2b8 #&serverTimezone=UTC
-    username: root
-    password: "YuyeTech9527" # "abc123456abc" "!@#ABC456"
+    url: jdbc:mysql://127.0.0.1:3306/heart-rate-band?useUnicode=true&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&useSSL=false&serverTimezone=GMT%2b8 #&serverTimezone=UTC
+    username: HRBand
+    password: "aDEYKjADHJHzXs4d"
 
     hikari:
       minimum-idle: 5
@@ -54,12 +54,12 @@ wx:
         msgDataFormat: JSON
 server:
   servlet:
-    context-path: /api_prd
+    context-path: /hrb_api_prd
 
 
 #阿里云
 aliyun:
-  bucketName: bbeng-bucket #线上环境bucket
+  bucketName: bbeng-heart-rate-band #线上环境bucket
 
 
 #文件管理地址

+ 1 - 1
src/main/resources/logback-spring.xml

@@ -81,7 +81,7 @@
         <logger level="WARN" name="com.netflix"/>
         <logger level="DEBUG" name="org.hibernate.SQL"/>
     </springProfile>
-    <springProfile name="prod">
+    <springProfile name="prd">
 
         <!--root节点 全局日志级别,用来指定最基础的日志输出级别-->
         <root level="INFO">