weilin.hong 6 years ago
parent
commit
9265edc60c

+ 5 - 0
dev/application-dev.properties

@@ -0,0 +1,5 @@
+service.product.name=product-service
+service.resource.name=resource-service
+service.user.name=user-service
+service.trade.name=trade-service
+remote.auth.url=http://zuul.efunbox.cn

+ 34 - 0
dev/cms-web-dev.properties

@@ -0,0 +1,34 @@
+eureka.client.service-url.defaultZone=http://127.0.0.1:8821/eureka/
+
+#出现错误时, 直接抛出异常
+spring.mvc.throw-exception-if-no-handler-found=true
+#不要为我们工程中的资源文件建立映射
+spring.resources.add-mappings=false
+
+# http encoding
+spring.http.encoding.charset=UTF-8
+spring.http.encoding.force=true
+spring.http.encoding.enabled=true
+
+# cms 管理端 会话管理 信息
+jwt.header= X-Token
+jwt.cookie= X-Cookie
+jwt.secret= tomas
+jwt.expiration= 3600
+
+# 执行异步任务的 线程池大小
+cms.threadPoolAsyncTaskExecutor.thread.size=16
+
+#logging.level.root=debug
+## redis 配置
+spring.redis.host=127.0.0.1
+#spring.redis.host=localhost
+spring.redis.port=6379
+spring.redis.password=
+#spring.redis.password=
+spring.redis.timeout=3000
+spring.redis.pool.max-idle=8
+spring.redis.pool.min-idle=0
+spring.redis.pool.max-active=8
+spring.redis.pool.max-wait=-1
+spring.redis.key.prefix=api/web

+ 11 - 0
dev/product-service-dev.properties

@@ -0,0 +1,11 @@
+eureka.client.service-url.defaultZone=http://127.0.0.1:8821/eureka/
+
+spring.datasource.url=jdbc:mysql://127.0.0.1:3306/rankin?useUnicode=true&characterEncoding=utf-8&autoReconnect=true&allowMultiQueries=true
+spring.datasource.driverClassName=com.mysql.jdbc.Driver
+spring.datasource.username=root
+spring.datasource.password=123456
+
+spring.jpa.properties.hibernate.hbm2ddl.auto=update
+spring.jpa.properties.hibernate.show_sql=true
+spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL5Dialect
+#spring.jpa.properties.hibernate.max_fetch_depth=1

+ 10 - 0
dev/rankin-task-dev.properties

@@ -0,0 +1,10 @@
+eureka.client.service-url.defaultZone=http://127.0.0.1:8821/eureka/
+
+spring.datasource.url=jdbc:mysql://127.0.0.1:3306/rankin?useUnicode=true&characterEncoding=utf-8&autoReconnect=true&allowMultiQueries=true
+spring.datasource.driverClassName=com.mysql.jdbc.Driver
+spring.datasource.username=root
+spring.datasource.password=123456
+
+spring.jpa.properties.hibernate.hbm2ddl.auto=update
+spring.jpa.properties.hibernate.show_sql=true
+spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL5Dialect

+ 25 - 0
dev/resource-service-dev.properties

@@ -0,0 +1,25 @@
+eureka.client.service-url.defaultZone=http://127.0.0.1:8821/eureka/
+
+# database config
+spring.datasource.url=jdbc:mysql://127.0.0.1:3306/rankin?useUnicode=true&characterEncoding=utf-8&autoReconnect=true&allowMultiQueries=true
+spring.datasource.driverClassName=com.mysql.jdbc.Driver
+spring.datasource.username=root
+spring.datasource.password=123456
+
+spring.jpa.properties.hibernate.hbm2ddl.auto=update
+spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL5Dialect
+
+# resource center url
+remote.resource.url=http://zuul.efunbox.cn
+
+# ali oss config
+ali.oss.endpoint=oss-cn-beijing.aliyuncs.com
+ali.oss.accessKeyId=LTAIUFvd17IXLBQ4
+ali.oss.accessKeySecret=YEm1VebbntRIGmV8s8N33LQfOoC2sA
+ali.oss.bucket=efunimgs
+ali.oss.rankin.dir=resources/
+#resource.img.domain=http://efunimgs.oss-cn-beijing.aliyuncs.com
+resource.img.domain=https://efunimgs.ai160.com
+#resource.video.domain=http://ljvideo.ai160.com/vs2m
+resource.video.domain=https://efunvideo.ai160.com/vs2m
+resource.audio.domain=https://efunvideo.ai160.com

+ 11 - 0
dev/trade-service-dev.properties

@@ -0,0 +1,11 @@
+eureka.client.service-url.defaultZone=http://127.0.0.1:8821/eureka/
+
+spring.datasource.url=jdbc:mysql://127.0.0.1:3306/rankin?useUnicode=true&characterEncoding=utf-8&autoReconnect=true&allowMultiQueries=true
+spring.datasource.driverClassName=com.mysql.jdbc.Driver
+spring.datasource.username=root
+spring.datasource.password=123456
+
+spring.jpa.properties.hibernate.hbm2ddl.auto=update
+spring.jpa.properties.hibernate.show_sql=true
+spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL5Dialect
+#spring.jpa.properties.hibernate.max_fetch_depth=1

+ 12 - 0
dev/user-service-dev.properties

@@ -0,0 +1,12 @@
+eureka.client.service-url.defaultZone=http://127.0.0.1:8821/eureka/
+
+spring.datasource.url=jdbc:mysql://127.0.0.1:3306/rankin?useUnicode=true&characterEncoding=utf-8&autoReconnect=true&allowMultiQueries=true
+spring.datasource.driverClassName=com.mysql.jdbc.Driver
+spring.datasource.username=root
+spring.datasource.password=123456
+
+spring.jpa.properties.hibernate.hbm2ddl.auto=update
+spring.jpa.properties.hibernate.show_sql=true
+spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL5Dialect
+#spring.jpa.properties.hibernate.max_fetch_depth=1
+remote.user.url=http://zuul.efunbox.cn