Commit 310b55c4 by 王璐琦

chore(config): 新增并调整smartcarlife白名单及商品类型配置

- 在多环境配置中新增动态日报商户白名单
- 删除原厂商品类型配置并替换为第三方及改色膜类型
- 完善精品类商品集合,增加多个商品类型ID
- 补充并更新Druid连接池、Mybatis、Dubbo及Redis相关配置
- 添加阿里OSS及Excel临时文件路径相关配置
- 配置鸿蒙智行及相关品牌ID和bi数据接口URL
1 parent cdd9928a
...@@ -12,6 +12,8 @@ abnormal.order.test.priceUpper=10 ...@@ -12,6 +12,8 @@ abnormal.order.test.priceUpper=10
order.manage.exclude.sales.type=2 order.manage.exclude.sales.type=2
order.manage.exclude.dj.order.type=6 order.manage.exclude.dj.order.type=6
#【新增】新版本日报白名单
dynamic.dailyReport.merchantId.whitelist=44209390,44211227
``` ```
### 测试环境 ### 测试环境
...@@ -25,6 +27,8 @@ abnormal.order.test.priceUpper=10 ...@@ -25,6 +27,8 @@ abnormal.order.test.priceUpper=10
order.manage.exclude.sales.type=2 order.manage.exclude.sales.type=2
order.manage.exclude.dj.order.type=6 order.manage.exclude.dj.order.type=6
#【新增】新版本日报白名单
dynamic.dailyReport.merchantId.whitelist=44209390,44211227,44210895,44211116,44218339,44218105,44218109,44210894,44210950,44218431,44218401,44209510,44218118
``` ```
### 预发布环境 ### 预发布环境
...@@ -37,6 +41,8 @@ abnormal.order.test.priceUpper=10 ...@@ -37,6 +41,8 @@ abnormal.order.test.priceUpper=10
order.manage.exclude.sales.type=2 order.manage.exclude.sales.type=2
order.manage.exclude.dj.order.type=6 order.manage.exclude.dj.order.type=6
#【新增】新版本日报白名单
dynamic.dailyReport.merchantId.whitelist=44211643
``` ```
### 线上环境 ### 线上环境
...@@ -49,6 +55,8 @@ abnormal.order.test.priceUpper=10 ...@@ -49,6 +55,8 @@ abnormal.order.test.priceUpper=10
order.manage.exclude.sales.type=2 order.manage.exclude.sales.type=2
order.manage.exclude.dj.order.type=6 order.manage.exclude.dj.order.type=6
#【新增】新版本日报白名单
dynamic.dailyReport.merchantId.whitelist=44205761,44211821,44213218,44215138,44217117,44212233,44214443,44215294,44215375
``` ```
### ###
......
...@@ -12,15 +12,6 @@ ...@@ -12,15 +12,6 @@
```properties ```properties
【新增】 【新增】
#原厂太阳膜
smartcarlife.goodsType.originalFactory.solarFilm=
#原厂天窗冰甲
smartcarlife.goodsType.originalFactory.skylightIceArmor=
#原厂车衣
smartcarlife.goodsType.originalFactory.carCover=
#原厂精品
smartcarlife.goodsType.originalFactory.qualityGoods=
#太阳膜 #太阳膜
smartcarlife.goodsType.solarFilm=1 smartcarlife.goodsType.solarFilm=1
#天窗冰甲 #天窗冰甲
...@@ -30,19 +21,120 @@ smartcarlife.goodsType.carCover=12 ...@@ -30,19 +21,120 @@ smartcarlife.goodsType.carCover=12
#精品 #精品
smartcarlife.goodsType.qualityGoods=18 smartcarlife.goodsType.qualityGoods=18
#第三方供应方
supplier_third_party_id=19
#改色膜
smartcarlife.goodsType.colorChangeFilm=14
#精品类集合
smartcarlife.goodsType.qualityGoodsTypes=446,448
``` ```
### 预发布环境 ### 预发布环境
```properties ```properties
【新增】 # 3.233---------------------druid连接池及数据源配置---------------------
#原厂太阳膜 ore.druid.url=jdbc:mysql://common.db.glsx.com:3306/dj_smartcarlife?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&allowMultiQueries=true
smartcarlife.goodsType.originalFactory.solarFilm=133 ore.druid.username=biz_dj_smartcarlife
#原厂天窗冰甲 ore.druid.password=YiukxTcp
smartcarlife.goodsType.originalFactory.skylightIceArmor=134 ore.druid.initial-size=10
#原厂车衣 ore.druid.min-idle=10
smartcarlife.goodsType.originalFactory.carCover=135 ore.druid.max-active=100
#原厂精品 ore.druid.max-wait=60000
smartcarlife.goodsType.originalFactory.qualityGoods=136 ore.druid.test-on-borrow=true
# ---------------------druid连接池及数据源配置---------------------
# 开启日志监控
ore.druid.filter.slf4j.enabled=true
ore.druid.filter.slf4j.data-source-log-enabled=true
ore.druid.filter.slf4j.statement-executable-sql-log-enable=true
#------------------------------mybatis配置------------------------------
mybatis.mapper-locations=classpath:/META-INF/orm/**/*Mapper.xml
mapper.mappers=org.oreframework.datasource.mybatis.mapper.OreMapper
mapper.not-empty=false
mapper.identity=MYSQL
mapper.style=normal
mapper.scan=cn.com.glsx.dj.daily.report.mapper
mybatis.type-aliases-package=cn.com.glsx.dj.daily.report.model
logging.level.cn.com.glsx.dj.smartcarlife.ext.mapper=debug
#------------------------------mybatis配置------------------------------
#------------------------------分页配置-------------------------------
pagehelper.reasonable=false
pagehelper.supportMethodsArguments=true
pagehelper.params=count=countSql
#pageHelper自定义
pagehelper.helperDialect=cn.com.glsx.dj.daily.report.config.HelperDialectCustom
#------------------------------分页配置-------------------------------
#------------------------------dubbo配置------------------------------
# dubbo应用名称
ore.dubbo.application.name=rpc-dj-daily-report
# dubbo应用所有者
ore.dubbo.application.owner=linchong
# dubbo服务注册地址
ore.dubbo.registry.address=zookeeper://dubbo.zk.glsx.com:2181
ore.dubbo.protocol.name=dubbo
ore.dubbo.protocols.rmi.port=2199
ore.dubbo.protocols.rmi.name=rmi
ore.dubbo.protocols.rmi.dispatcher=message
ore.dubbo.protocols.rmi.threads=100
# dubbo服务注册超时时间
ore.dubbo.registry.timeout=30000
# dubbo监控服务开启
ore.dubbo.monitor.protocol=registry
# dubbo服务扫描包路径
ore.dubbo.scan=cn.com.glsx.dj.daily.report.remote
#------------------------------dubbo配置------------------------------
#-------------------------------redis配置------------------------------
#ore.redis.hostName=192.168.3.231
ore.redis.hostName=common.redis.glsx.com
ore.redis.port=6379
ore.redis.password=
ore.redis.pool.maxActive=600
ore.redis.pool.maxWait=10000
ore.redis.pool.maxTotal=300
ore.redis.pool.maxIdle=300
ore.redis.pool.minIdle=0
ore.redis.timeout=30000
#-------------------------------redis配置------------------------------
#-------------------------------redis分布式锁配置------------------------------
#项目缓存key前缀
glsx.distribute.lock.redis.registryKey=lock-rpc-dj-daily-report-test
#全局获取锁超时时间(秒),注解未指定时间时使用全局时间
glsx.distribute.lock.redis.time=10
#-------------------------------redis分布式锁配置------------------------------
#阿里oss 配置
aliyun.oss.endpoint=oss-cn-shenzhen.aliyuncs.com
aliyun.oss.bucketName=glsk-oss
aliyun.oss.folder=quality/
aliyun.oss.accessKeyId=LTAI5tCRcCUgd7bt1J7JY596
aliyun.oss.accessKeySecret=kJos9mqyIkR5ztosnDt8Asrc3ulgqy
gop.excel.tem.path=/data/img/rpc-dj-daily-report/temp/
gop.excel.tem.url=https://dj.beta.glsx.com.cn/rpc-dj-daily-report/temp/
#鸿蒙智行一级品牌id
quotation.merchant.main.brand.ids=2978
#问界
huawei.wenjie.brand.id=3454
#智界
huawei.zhijie.brand.id=3456
#享界
huawei.xiangjie.brand.id=3503
#尊界
huawei.zunjie.brand.id=3502
#尚界
huawei.shangjie.brand.id=3574
# bi的url
total.data.url=http://192.168.3.211:8021/data
#太阳膜 #太阳膜
smartcarlife.goodsType.solarFilm=1 smartcarlife.goodsType.solarFilm=1
...@@ -52,21 +144,18 @@ smartcarlife.goodsType.skylightIceArmor=132 ...@@ -52,21 +144,18 @@ smartcarlife.goodsType.skylightIceArmor=132
smartcarlife.goodsType.carCover=12 smartcarlife.goodsType.carCover=12
#精品 #精品
smartcarlife.goodsType.qualityGoods=18 smartcarlife.goodsType.qualityGoods=18
#第三方供应方
supplier_third_party_id=19
#改色膜
smartcarlife.goodsType.colorChangeFilm=14
#精品类集合
smartcarlife.goodsType.qualityGoodsTypes=15,13
``` ```
### 线上环境 ### 线上环境
```properties ```properties
【新增】 【新增】
#原厂太阳膜
smartcarlife.goodsType.originalFactory.solarFilm=241
#原厂天窗冰甲
smartcarlife.goodsType.originalFactory.skylightIceArmor=236
#原厂车衣
smartcarlife.goodsType.originalFactory.carCover=244
#原厂精品
smartcarlife.goodsType.originalFactory.qualityGoods=249
#太阳膜 #太阳膜
smartcarlife.goodsType.solarFilm=1 smartcarlife.goodsType.solarFilm=1
#天窗冰甲 #天窗冰甲
...@@ -75,6 +164,12 @@ smartcarlife.goodsType.skylightIceArmor=143 ...@@ -75,6 +164,12 @@ smartcarlife.goodsType.skylightIceArmor=143
smartcarlife.goodsType.carCover=12 smartcarlife.goodsType.carCover=12
#精品 #精品
smartcarlife.goodsType.qualityGoods=18 smartcarlife.goodsType.qualityGoods=18
#第三方供应方
supplier_third_party_id=22
#改色膜
smartcarlife.goodsType.colorChangeFilm=14
#精品类集合
smartcarlife.goodsType.qualityGoodsTypes=130,118,116,15,13,157,164,166,122,152,16,131,129,117,125,11,2,18,150,121,144,163,143,167,158,119,120,142
``` ```
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!