hechunping пре 4 месеци
родитељ
комит
7cb429e347

+ 5 - 5
src/main/resources/application-test.properties

@@ -1,9 +1,9 @@
 spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
-spring.datasource.url=jdbc:mysql://localhost:3316/electricboxdb?useUnicode=true&characterEncoding=utf-8&serverTimezone=GMT%2B8
+spring.datasource.url=jdbc:mysql://localhost:3316/marketing?useUnicode=true&characterEncoding=utf-8&serverTimezone=GMT%2B8
 spring.datasource.username=root
 spring.datasource.password=xymysqlroot_2019
 eureka.client.service-url.defaultZone=http://eureka:eureka_xyplat@localhost:8080/eureka/
-eureka.client.enabled=true
+eureka.client.enabled=false
 eureka.client.registerWithEureka=true
 eureka.client.fetchRegistry=true
 eureka.client.healthcheck.enabled=true
@@ -16,12 +16,12 @@ eureka.instance.instance-id=${spring.cloud.client.ip-address}:${server.port}
 logging.config=classpath:log4j2-dev.xml
 
 #redis
-spring.redis.host=172.27.210.154
+spring.redis.host=127.0.0.1
 spring.redis.password=XY#123456@mm
 spring.redis.port=6389
 
-# 测试服保存的路径
-savePath=/data/apps/electricbox/images
+# 锟斤拷锟皆凤拷锟斤拷锟斤拷锟铰凤拷锟�
+savePath=/data/apps/marketing/images
 
 maxSize=104857600
 

+ 1 - 1
src/main/resources/log4j2-dev.xml

@@ -6,7 +6,7 @@
 
 	<Properties>
 		<!-- 缺省配置(用于开发环境),配置日志文件输出目录和动态参数。其他环境需要在VM参数中指定; “sys:”表示:如果VM参数中没指定这个变量值,则使用本文件中定义的缺省全局变量值 -->
-		<Property name="instance">electricbox-admin</Property>
+		<Property name="instance">marketing</Property>
 		<Property name="log.dir">logs</Property>
 	</Properties>
 

+ 1 - 1
src/main/resources/log4j2-prod.xml

@@ -6,7 +6,7 @@
 
 	<Properties>
 		<!-- 缺省配置(用于开发环境),配置日志文件输出目录和动态参数。其他环境需要在VM参数中指定; “sys:”表示:如果VM参数中没指定这个变量值,则使用本文件中定义的缺省全局变量值 -->
-		<Property name="instance">electricbox-admin</Property>
+		<Property name="instance">marketing</Property>
 		<Property name="log.dir">logs</Property>
 	</Properties>