auto-config.xml 3.59 KB
<?xml version="1.0" encoding="UTF-8"?>

<config>
    <group>
		<!-- **************************  web namespace ***************************** -->
		<property name="yohobuy.pfcms.env.namespace" defaultValue="pfcms" description="应用命名空间"/>
        <property name="yohobuy.pfcms.env.serverport" defaultValue="9" description="应用端口"/>

        <property name="file.uploadTempDir" defaultValue="/home/test" description="spring  mvc upload temp dir"/>
        <property name="file.saveDir" defaultValue="/home/test/cache"  description="file save dir"/>
        
        <property name="file.image.size" defaultValue="512000"  description="file.image.size"/>

        <!--<property name="rabbitAddress" defaultValue="192.168.102.162:32810" description="RabbitMQ address"/>-->

        <property name="erp.shops.login.url" defaultValue="http://qrest.yohobuy.com:9098/erp-gateway-web/account/profile/login" description="erp"/>
        <property name="erp.shops.change.pwd.url" defaultValue="http://serve.yohobuy.com/service/account/v1/Profile/updatePassword" description="erp"/>
        <property name="erp.platform.shops.url" defaultValue="http://api.erp.yohobuy.com" description="erp"/>
        <property name="erp.shops.account.url" defaultValue="http://serve.yohobuy.com/service/finance/v1/clearing/balancelist" description="erp"/>
        <property name="execute.limitcode.host" defaultValue="10.66.50.140" description="绑定定时任务IP" />
        <property name="execute.shopmessage.host" defaultValue="10.66.50.140" description="绑定定时任务IP" />
        <property name="execute.update_product_price.host" defaultValue="10.66.50.140" description="绑定定时任务IP" />
        <property name="admin.portal.url" defaultValue="http://192.168.102.211:30012" description="老平台的地址" />
        
        <property name="watchService.watchDir" defaultValue="/Data/ftpdir" description="" />
        <property name="watchService.waitInterval" defaultValue="60" description="" />
        <property name="search.server.address" defaultValue="http://192.168.102.216:8080/yohosearch/" description="" />

        <property name="file.maxsize" defaultValue="5400000" description="" />
        <property name="platform.login.salt" defaultValue="yoho9646yoho9646" description="" />
        <property name="erp.domain" defaultValue="http://serve.yohobuy.com" description="" />
        <property name="offline.shops.url" defaultValue="http://192.168.102.210:8098/shops/" description="" />
        <property name="erp.storage" defaultValue="http://192.168.10.131:8082/erp-gateway-web/stock" description="" />

        <property name="mkt.activity.domain.url" defaultValue="http://union.yoho.cn/union/tencentMkt/index.html" description="市场推广活动页面域名" />

        <property name="mkt.pcwap.domain.url" defaultValue="http://union.yoho.cn/union/go" description="市场推广PC/WAP链接" />

        <property name="mkt.resource.code.url" defaultValue="https://m.yohobuy.com/channel/f8abd53b5f7c5fe558d3dd567d95ab92.html?nodownload=1" description="资源位链接" />
    </group>
    <script>
        <generate template="META-INF/autoconf/logback.xml" destfile="WEB-INF/classes/logback.xml"/>
        <generate template="META-INF/autoconf/config.properties" destfile="WEB-INF/classes/config.properties"/>
        <generate template="META-INF/autoconf/databases.yml" destfile="WEB-INF/classes/databases.yml"/>
        <generate template="META-INF/autoconf/rabbitmq.yml" destfile="WEB-INF/classes/rabbitmq.yml"/>
        <generate template="META-INF/autoconf/redis-config.yml" destfile="WEB-INF/classes/redis-config.yml"/>
    </script>
</config>