310 lines
10 KiB
XML
310 lines
10 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
||
<root>
|
||
<!-- 调试配置,生成环境下debug为false,默认为false -->
|
||
<prop name="debug">true</prop>
|
||
<prop name="ProductCode">AOS+</prop>
|
||
<prop name="ProductName">AOS+ EHR</prop>
|
||
<prop name="ProductVersion">1.0</prop>
|
||
<prop name="multilanguage">true</prop>
|
||
|
||
<!-- tracelog:是否记录跟踪日志,默认为false,traceSqlLog:是否记录sql日志,默认为false-->
|
||
<prop name="traceLog">true</prop>
|
||
<prop name="traceSqlLog">true</prop>
|
||
|
||
<!-- 系统配置 -->
|
||
<prop name="base_package">com.aisino;demo;com.hangxin;rush;com.aisino.hangxin.service;revisit</prop> <!-- 扫描类路径,可以配置多个,以分号隔开,路径不要太浅,否则扫描类过多 -->
|
||
<prop name="first_page">/canvas/login</prop> <!-- 首页配置 -->
|
||
<prop name="home_page">/canvas/index2</prop> <!-- 主页配置 -->
|
||
<!-- 用户密码的加密方式 -->
|
||
<!-- 正式环境暂不使用MD5加密算法 -->
|
||
<prop name="userpwd_encrypt_type">ehr.encode.myencrypt</prop>
|
||
<!-- 配置单点登录自定义服务,只校验用户名 -->
|
||
<prop name="sso_type">mainui.sso_service_custom</prop>
|
||
<!--
|
||
-->
|
||
<!-- 配置单组织 -->
|
||
<prop name="single_orgn">false</prop>
|
||
|
||
<!-- 是否支持多数据中心 ,不显示数据中心-->
|
||
<prop name="supportDataCenter">false</prop>
|
||
|
||
<!-- 上传控制 -->
|
||
<prop name="upload_limit">20</prop> <!-- 最大上传大小,默认10m -->
|
||
<prop name="upload_path">www/upload/</prop> <!-- 上传文件路径 -->
|
||
|
||
<!-- 服务器监控 -->
|
||
<prop name="monitor.net.address">127.0.0.1</prop>
|
||
<prop name="monitor.net.maxbandwidth">2</prop><!-- net bandwidth unit:M -->
|
||
|
||
<!-- 数据源 -->
|
||
<!--
|
||
mysql
|
||
com.mysql.jdbc.Driver
|
||
jdbc:mysql://127.0.0.1:3306/myDB
|
||
sqlserver
|
||
com.microsoft.sqlserver.jdbc.SQLServerDriver
|
||
jdbc:sqlserver://localhost:1433;DatabaseName=myDB
|
||
oracle
|
||
oracle.jdbc.driver.OracleDriver
|
||
jdbc:oracle:thin:@localhost:1521:myDB
|
||
postgresql 【postgresql中字段名必须为小写】
|
||
org.postgresql.Driver
|
||
jdbc:postgresql://localhost/myDB
|
||
sqlite
|
||
org.sqlite.JDBC
|
||
jdbc:sqlite:myDB.db
|
||
dm
|
||
dm.jdbc.driver.DmDriver
|
||
jdbc:dm://ip:port/SYSDBA
|
||
-->
|
||
|
||
<login>
|
||
<!-- logo: 高度40px,最长不超过1024px-->
|
||
<prop name="header.img">www/aos/mainui/image/login_logo_zh_CN.png</prop>
|
||
<!-- 中间部分图片: 高度为350px,宽度为600px-->
|
||
<prop name="content.img">www/aos/mainui/image/login_main_zh_CN_rush.png</prop>
|
||
</login>
|
||
|
||
<database default="aos+">
|
||
<!--
|
||
<ds id="aos+">
|
||
<prop name="desc">aos+演示系统</prop>
|
||
<prop name="type">mysql</prop>
|
||
<prop name="driver">com.mysql.jdbc.Driver</prop>
|
||
<prop name="url">jdbc:mysql://127.0.0.1:3306/aosplus</prop>
|
||
<prop name="username">root</prop>
|
||
<prop name="password">root</prop>
|
||
<prop name="decrypt">false</prop>
|
||
</ds>
|
||
|
||
<ds id="aos+">
|
||
<prop name="desc">服务费综合管理系统</prop>
|
||
<prop name="type">oracle</prop>
|
||
<prop name="driver">oracle.jdbc.driver.OracleDriver</prop>
|
||
<prop name="url">jdbc:oracle:thin:@10.3.3.32:1521:rush</prop>
|
||
<prop name="username">rushfeetest</prop>
|
||
<prop name="password">rushfeetest</prop>
|
||
<prop name="decrypt">false</prop>
|
||
</ds>
|
||
<ds id="aos+">
|
||
<prop name="desc">服务费综合管理系统_Formal_DB</prop>
|
||
<prop name="type">oracle</prop>
|
||
<prop name="driver">oracle.jdbc.driver.OracleDriver</prop>
|
||
<prop name="url">jdbc:oracle:thin:@10.3.3.32:1521:rush</prop>
|
||
<prop name="username">rushfee</prop>
|
||
<prop name="password">rushfee</prop>
|
||
<prop name="decrypt">false</prop>
|
||
</ds>
|
||
-->
|
||
|
||
<ds id="aos+">
|
||
<prop name="desc">服务费综合管理系统_Test_DB</prop>
|
||
<prop name="type">oracle</prop>
|
||
<prop name="driver">oracle.jdbc.driver.OracleDriver</prop>
|
||
<!-- <prop name="url">jdbc:oracle:thin:@10.1.1.26:1521:orcl</prop><!–测试–>-->
|
||
<prop name="url">jdbc:oracle:thin:@10.1.1.56:1521:RUSH</prop><!--正式-->
|
||
<prop name="username">RUSHFEE</prop>
|
||
<prop name="password">RUSHFEE</prop>
|
||
<prop name="decrypt">false</prop>
|
||
</ds>
|
||
<ds id="oracle_crm">
|
||
<prop name="desc">crm</prop>
|
||
<prop name="type">oracle</prop>
|
||
<prop name="driver">oracle.jdbc.driver.OracleDriver</prop>
|
||
<prop name="url">jdbc:oracle:thin:@10.1.1.11:1521:crm</prop>
|
||
<prop name="username">crm</prop>
|
||
<prop name="password">aisinocrm2014</prop>
|
||
<prop name="decrypt">false</prop>
|
||
</ds>
|
||
<ds id="call_center">
|
||
<prop name="desc">呼叫中心db</prop>
|
||
<prop name="type">oracle</prop>
|
||
<prop name="driver">oracle.jdbc.driver.OracleDriver</prop>
|
||
<prop name="url">jdbc:oracle:thin:@//10.2.2.30:1526/ipcc</prop><!--正式-->
|
||
<prop name="username">useraisino</prop>
|
||
<prop name="password">useraisino</prop>
|
||
<prop name="decrypt">false</prop>
|
||
</ds>
|
||
<!--
|
||
<ds id="oracle_crm">
|
||
<prop name="desc">oracle_crm系统</prop>
|
||
<prop name="type">oracle</prop>
|
||
<prop name="driver">oracle.jdbc.driver.OracleDriver</prop>
|
||
<prop name="url">jdbc:oracle:thin:@10.3.3.11:1521:crm</prop>
|
||
<prop name="username">crm</prop>
|
||
<prop name="password">aisinocrm2014</prop>
|
||
<prop name="decrypt">false</prop>
|
||
</ds>
|
||
<ds id="oracle_oldoa">
|
||
<prop name="desc">oracle_oldoa系统</prop>
|
||
<prop name="type">oracle</prop>
|
||
<prop name="driver">oracle.jdbc.driver.OracleDriver</prop>
|
||
<prop name="url">jdbc:oracle:thin:@10.3.3.26:1521:orcl</prop>
|
||
<prop name="username">ssv</prop>
|
||
<prop name="password">ssv</prop>
|
||
<prop name="decrypt">false</prop>
|
||
</ds>
|
||
-->
|
||
<ds id="oracle_newoa">
|
||
<prop name="desc">oracle_fwoa系统</prop>
|
||
<prop name="type">oracle</prop>
|
||
<prop name="driver">oracle.jdbc.driver.OracleDriver</prop>
|
||
<prop name="url">jdbc:oracle:thin:@10.3.3.47:1521:ecology</prop>
|
||
<prop name="username">ecology</prop>
|
||
<prop name="password">ecology</prop>
|
||
<prop name="decrypt">false</prop>
|
||
</ds>
|
||
<ds id="mysql_einvoice">
|
||
<prop name="desc">mysql_einvoice电子发票系统</prop>
|
||
<prop name="type">mysql</prop>
|
||
<prop name="driver">com.mysql.jdbc.Driver</prop>
|
||
<prop name="url">jdbc:mysql://10.1.1.140:3306/hndzfp</prop>
|
||
<prop name="username">root</prop>
|
||
<prop name="password">root</prop>
|
||
<prop name="decrypt">false</prop>
|
||
</ds>
|
||
</database>
|
||
|
||
<!-- druid参数 -->
|
||
|
||
|
||
|
||
<druid>
|
||
|
||
<prop name="initialSize">5</prop>
|
||
|
||
<!-- 初始化连接数量 -->
|
||
|
||
|
||
<prop name="maxActive">20</prop>
|
||
|
||
<!-- 最大并发连接数 -->
|
||
|
||
|
||
<prop name="minIdle">10</prop>
|
||
<!-- 最小空闲连接数 -->
|
||
|
||
|
||
<prop name="maxWait">60000</prop>
|
||
|
||
<!-- 获取连接等待超时的时间 -->
|
||
|
||
|
||
<prop name="removeAbandanded">true</prop>
|
||
|
||
<!-- 超过时间限制是否回收,配置removeAbandoned对性能会有一些影响,建议怀疑存在泄漏之后再打开 -->
|
||
|
||
|
||
<prop name="removeAbandonedTimeout">1800</prop>
|
||
|
||
<!-- 超时时间;单位为秒。1800秒=30分钟 -->
|
||
|
||
|
||
<prop name="logAbandoned">true</prop>
|
||
|
||
<!-- 关闭abanded连接时输出错误日志 -->
|
||
|
||
|
||
<prop name="timeBetweenEvictionRunsMillis">60000</prop>
|
||
|
||
<!-- 间隔多久才进行一次检测,检测需要关闭的空闲连接,单位是毫秒 -->
|
||
|
||
|
||
<prop name="minEvictableIdleTimeMillis">300000</prop>
|
||
|
||
<!-- 一个连接在池中最小生存的时间,单位是毫秒 -->
|
||
|
||
|
||
<!-- -->
|
||
|
||
|
||
<!-- oracle下配置这个语句 -->
|
||
|
||
|
||
<prop name="validationQuery">SELECT 1 FROM DUAL</prop>
|
||
|
||
<!-- <prop name="validationQuery">SELECT 'x'</prop> -->
|
||
|
||
|
||
<!-- 用来检测连接是否有效的sql,要求是一个查询语句 -->
|
||
|
||
|
||
<prop name="testWhileIdle">false</prop>
|
||
|
||
<!-- 申请连接的时候检测 -->
|
||
|
||
|
||
<prop name="testOnBorrow">false</prop>
|
||
|
||
<!-- 申请连接时执行validationQuery检测连接是否有效,配置为true会降低性能 -->
|
||
|
||
|
||
<prop name="testOnReturn">false</prop>
|
||
|
||
<!-- 归还连接时执行validationQuery检测连接是否有效,配置为true会降低性能 -->
|
||
|
||
|
||
<!-- sqlite下需要注释下面两句 -->
|
||
|
||
|
||
<!-- 打开PSCache,并且指定每个连接上PSCache的大小 -->
|
||
|
||
|
||
<!-- <prop name="poolPreparedStatements">true</prop> <prop name="maxPoolPreparedStatementPerConnectionSize">20</prop> -->
|
||
|
||
|
||
<!-- stat,log4j,wall 监控统计stat,log4j日志,防御SQL注入wall,注意,添加wall后,1=1这种会报错 -->
|
||
|
||
|
||
<prop name="filters">stat,log4j</prop>
|
||
|
||
<prop name="druidServlet.allow">127.0.0.1</prop>
|
||
|
||
<!--<prop name="druidServlet.loginUsername">admin</prop>-->
|
||
|
||
|
||
<!--<prop name="druidServlet.loginPassword">admin1</prop>-->
|
||
|
||
|
||
<prop name="druidServlet.resetEnable">false</prop>
|
||
|
||
</druid>
|
||
|
||
<!-- 主界面Logo和文本配置 -->
|
||
<index>
|
||
<!--
|
||
<prop name="LogoImage">www/aos/mainui/image/logo2.png</prop>
|
||
-->
|
||
<prop name="LogoImageWidth">100</prop>
|
||
<prop name="LogoText">服务费综合管理系统</prop>
|
||
|
||
<!-- 加载iconfonts的字体css文件,主要用于用户自定义菜单项的图标,所有主页面公用 -->
|
||
<prop name="IndexCustomIconFontsCssUrl">www/ehr/index/css/iconfont.css</prop>
|
||
<!-- 加载index2 tree自定义菜单项的图片css,用于兼容ie6/7/8 -->
|
||
<prop name="Index2CustomIconsCssUrlForTree">www/ehr/index/css/iconfont_img_tree.css</prop>
|
||
<!-- 加载index2 OutLookMenu自定义菜单项的图片css,用于兼容ie6/7/8 -->
|
||
<prop name="Index2CustomIconsCssUrlForOutLookMenu">www/ehr/index/css/iconfont_img_outlookmenu.css</prop>
|
||
<!-- 加载index3自定义菜单项的图片css,用于兼容ie6/7/8 -->
|
||
<prop name="Index3CustomIconsCssUrl">www/ehr/index/css/iconfont_img_index3.css</prop>
|
||
</index>
|
||
|
||
<!-- 邮件服务器配置 -->
|
||
<mail>
|
||
<prop name="is_debug">true</prop>
|
||
<prop name="sender.protocol">smtp</prop>
|
||
<prop name="sender.protocol.ssl">true</prop>
|
||
<prop name="sender.protocol.host">smtp.163.com</prop>
|
||
<prop name="sender.protocol.port">25</prop>
|
||
<prop name="sender.from">matrix8987@163.com</prop>
|
||
<prop name="sender.auth">true</prop>
|
||
<prop name="sender.auth.username">matrix8987@163.com</prop>
|
||
<prop name="sender.auth.password">20040603zys</prop>
|
||
</mail>
|
||
<!-- 多语言选择
|
||
<language default="zh_CN">
|
||
<prop name="en_US">English</prop>
|
||
<prop name="zh_CN">简体中文</prop>
|
||
<prop name="zh_TW">繁體中文</prop>
|
||
</language>
|
||
-->
|
||
</root> |