config.properties 8.4 KB
# ********************  gateway common configs ********************
# if true,   client_security check may be disabled.
is_debug_enable=${is_debug_enable}

file.maxsize=${file.maxsize}
file.image.size=${file.image.size}
file.image.gif.size=${file.image.gif.size}
file.uploadTempDir=${file.uploadTempDir}
file.saveDir=${file.saveDir}
file.uploadMalongImgDir=${file.uploadMalongImgDir}


##\u56fe\u50cf\u641c\u7d22\u5bf9\u63a5api\u53c2\u6570 \u7801\u9686\u79d1\u6280\u914d\u7f6e\u4fe1\u606f
malongApi.accessKeyId=${malongApi.accessKeyId}
malongApi.secretKey=${malongApi.secretKey}
malongApi.paiUserId=${malongApi.paiUserId}
malongApi.imageSetId=${malongApi.imageSetId}

#watch ftp upload directory
watchService.watchDir=${watchService.watchDir}
#unit: seconds
watchService.waitInterval=${watchService.waitInterval}

# ********************  cloud  storage config ********************
#qiniu config
qiniu.accesskey=${qiniu.accesskey}
qiniu.secretkey=${qiniu.secretkey}

qiniu.accesskey.cmsimg01=${qiniu.accesskey.cmsimg01}
qiniu.secretkey.cmsimg01=${qiniu.secretkey.cmsimg01}

qiniu.accesskey.yohomars=${qiniu.accesskey.yohomars}
qiniu.secretkey.yohomars=${qiniu.secretkey.yohomars}

qiniu.accesskey.yohoimimgs=${qiniu.accesskey.yohoimimgs}
qiniu.secretkey.yohoimimgs=${qiniu.secretkey.yohoimimgs}

qiniu.bucket=${qiniu.bucket}

qiniu.expireseconds=${qiniu.expireseconds}
qiniu.encodeOps=${qiniu.encodeOps}
qiniu.persistentPipeline=${qiniu.persistentPipeline}


# ******************** search restful ********************
#search server address(if hava)
search.server.address=${search.server.address}

# aliyun config
aliyun.domain=${aliyun.domain}
aliyun.accessid=${aliyun.accessid}
aliyun.accesskey=${aliyun.accesskey}
aliyun.bucket=${aliyun.bucket}
aliyun.endpoint=${aliyun.endpoint}

#rabbit address,\u6682\u65f6\u5199\u6210\u56fa\u5b9a\u7684, \u5148\u4fdd\u8bc1\u670d\u52a1\u542f\u52a8
rabbit_host=${rabbit_host}
rabbit_user=${rabbit_user}
rabbit_password=${rabbit_password}

########## common rabbitmq  ##########
rabbit_common = ${rabbit_common}
rabbit_common_user = ${rabbit_common_user}
rabbit_common_password = ${rabbit_common_password}
########## common rabbitmq  ##########

execute.limitcode.host=${execute.limitcode.host}
execute.shopmessage.host=${execute.shopmessage.host}
execute.update_product_price.host=${execute.update_product_price.host}

#zookeeper address
zkAddress=${zkAddress}
web.context=pfcms

# erp shops login service\
erp.shops.login.url=${erp.shops.login.url}
erp.shops.change.pwd.url=${erp.shops.change.pwd.url}
erp.shops.account.url=${erp.shops.account.url}
erp.platform.shops.url=${erp.platform.shops.url}
erp.virtualinventory.setNumberBySkn.url=${erp.virtualinventory.setNumberBySkn.url}
api.yoho.url=${api.yoho.url}
service.yoho.url=${service.yoho.url}
hystrix.command.default.execution.timeout.enabled=false
service.call.connectReqTimeout=1200000
service.call.socketTimeout=1200000
service.call.connectTimeout=1200000

#old admin portal address
admin.portal.url=${admin.portal.url}

offline.shops.url=${offline.shops.url}
platform.login.salt=${platform.login.salt}
erp.domain=${erp.domain}
erp.storage=${erp.storage}

admin.login.url=${admin.login.url}


redis.proxy.address=${redis.proxy.address}
redis.proxy.port=${redis.proxy.port}
redis.proxy.auth=${redis.proxy.auth}

redis.readonly.proxy.address=${redis.readonly.proxy.address}
redis.readonly.proxy.port=${redis.readonly.proxy.port}
redis.readonly.proxy.auth=${redis.readonly.proxy.auth}

product.batch.update.pageSize=20

price.selltype.url=${price.selltype.url}
# price manage audit person config
price.audit.firstRoleName=\u9ad8\u7ea7\u54c1\u724c\u7ecf\u7406
price.over.days.roleName=${price.over.days.roleName}
price.audit.secondPid=${price.audit.secondPid}
price.audit.thirdPid=${price.audit.thirdPid}

price.changed.notice.phone=${price.changed.notice.phone}
shop.status.change.phone=${shop.status.change.phone}
erp.virtualinventory.setBatchNumberBySkn.url=${erp.virtualinventory.setBatchNumberBySkn.url}
erp.realStorage.url=${erp.realStorage.url}

redis.notsync.twemproxy.addresses=${redis.notsync.twemproxy.addresses}
redis.notsync.twemproxy.auth=${redis.notsync.twemproxy.auth}

#ERP\u7684url\uff0c\u8981\u7edf\u4e00\u8d77\u6765
#ERP\u7684url\uff0c\u8981\u7edf\u4e00\u8d77\u6765
erp.shop.url=${erp.shop.url}

gateway.api.url=${gateway.api.url}
gateway.service.url=${gateway.service.url}

resources_https_enable=${resources_https_enable}

makePromotion.batch.size=1000000
makePromotion.batch.dataOffset=1000

#sync ispromotion (prop of product ) advance time\uff0cunit \uff1aminutes

# ********************  message ********************
rabbit_message_center = ${rabbit_message_center}
rabbit_message_center_user = ${rabbit_message_center_user}
rabbit_message_center_password = ${rabbit_message_center_password}
rabbit_message_center_vhost = ${rabbit_message_center_vhost}


yoho.service.domain.url=${yoho.service.domain.url}

#\u8ba2\u9605
wechat.subscription.access.appid=${wechat.subscription.access.appid}
wechat.subscription.access.secret=${wechat.subscription.access.secret}
#\u670d\u52a1
wechat.access.appid=${wechat.access.appid}
wechat.access.secret=${wechat.access.secret}


mkt.activity.domain.url=${mkt.activity.domain.url}
crawler.host=${crawler.host}

# ********************  bigdata upload skn data  ********************  
bigdata.qiniu.accesskey=${bigdata.qiniu.accesskey}
bigdata.qiniu.secretkey=${bigdata.qiniu.secretkey}
bigdata.qiniu.bucket=${bigdata.qiniu.bucket}
bigdata.qiniu.refresh.url=${bigdata.qiniu.refresh.url}
qiniu.bigdata.skndada.folderName=${qiniu.bigdata.skndada.folderName}
bigdata.sitemap.url=${bigdata.sitemap.url}
bigdata.ad.userid=${bigdata.ad.userid}
# ********************  bigdata upload skn data  ********************  
# ********************  bigData redis servers start ********************
bigDataRedis.proxy.address=${bigDataRedis.proxy.address}
bigDataRedis.proxy.port=${bigDataRedis.proxy.port}
#password, can be empty
bigDataRedis.proxy.auth=${bigDataRedis.proxy.auth}

bigDataRedis.pool.maxTotal=${bigDataRedis.pool.maxTotal}
bigDataRedis.pool.maxIdle=${bigDataRedis.pool.maxIdle}
bigDataRedis.pool.maxWaitMillis=${bigDataRedis.pool.maxWaitMillis}
bigDataRedis.pool.minIdle=${bigDataRedis.pool.minIdle}
bigDataRedis.pool.testOnBorrow=${bigDataRedis.pool.testOnBorrow}
bigDataRedis.pool.testWhileIdle=${bigDataRedis.pool.testWhileIdle}
# ********************  bigData redis servers end ********************

# ********************  union redis servers start ********************
unionRedis.proxy.address=${unionRedis.proxy.address}
unionRedis.proxy.port=${unionRedis.proxy.port}
unionRedis.proxy.auth=${unionRedis.proxy.auth}
# ********************  union redis servers end ********************


# ********************  tencent upload skn data  ********************  
upload.tencent.url=${upload.tencent.url}
upload.tencent.bid=${upload.tencent.bid}
upload.tencent.product.mark=${upload.tencent.product.mark}
# ********************  tencent upload skn data  ********************  


mkt.pcwap.domain.url=${mkt.pcwap.domain.url}
mkt.resource.code.url=${mkt.resource.code.url}

activity.url=https://activity.yoho.cn/feature/


# lower price
stock.req.url=${stock.req.url}
auth.user.req.url=${auth.user.req.url}

makePromotion.batch.dosave.timeout=5
makePromotion.batch.thread.num=6
sync.product.isPromotion.advance.minutes=${sync.product.isPromotion.advance.minutes}
mkt.channelCode.guangdiantong=1061
bigdata.ad.ZHT.userid=${bigdata.ad.ZHT.userid}

local.task.host=${local.task.host}

# ********************  sns-check ********************
ali.check.accessKeyId=${ali.check.accessKeyId}
ali.check.accessKeySecret=${ali.check.accessKeySecret}
platform.sns.imagesimi.url=${platform.sns.imagesimi.url}
# ********************  sns-check ********************

manager.zkAddress = ${manager.zkAddress}

# shop report service url
shop.yoho.url = ${shop.yoho.url}

platformRedis.proxy.address=${platformRedis.proxy.address}
platformRedis.proxy.port=${platformRedis.proxy.port}
platformRedis.proxy.auth=${platformRedis.proxy.auth}

erpYohops.domain = ${erpYohops.domain}

dataSource.URL = ${yoho.quartz.datasource.url}
dataSource.user = ${yoho.quartz.datasource.username}
dataSource.password = ${yoho.quartz.datasource.password}

qq.serverHost = ${qq.serverHost}
qq.serverUri = ${qq.serverUri}
qq.secretId = ${qq.secretId}
qq.secretKey = ${qq.secretKey}

uic.service.url=${uic.service.url}
preview.url=${preview.url}

file.excel.saveDir=${file.excel.saveDir}

tencent.cloud.secretId=${tencent.cloud.secretId}
tencent.cloud.secretKey=${tencent.cloud.secretKey}