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

<config>
	<group>

		<!-- ************************** web namespace ******************************* -->
		<property name="yoho.unions.env.namespace" defaultValue="union" description="应用命名空间" />

		<property name="jdbc.mysql.readonlyinslave" defaultValue="true" description="读操作是否只在从库" />

		<!-- memcached -->
		<property name="cache.servers.union.address" defaultValue="memcache.union.yohoops.org:11211" description="" />

		<property name="exclude.union.type" defaultValue="100000000000349" description="m站的渠道号" />

		<property name="gateway.url" defaultValue="http://api.yoho.cn" description="gateway 的地址" />
		<property name="sendSMS.password" defaultValue="7jVEde87bLffoTnt6tGxmw==" description="调用运维发送短信接口时的,需要传入的密码(AES加密)" />
		<property name="tencentmkt.shareUrl" defaultValue="http://union.yoho.cn/union/tencentMkt/index.html" description="市场活动推广的链接地址" />
		<property name="union.host" defaultValue="172.31.16.99" description="绑定定时任务IP" />
	
	</group>
	<script>
		<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/logback.xml" destfile="WEB-INF/classes/logback.xml" />
	</script>
</config>