集团模式修改为通俗名称:多租户、租户代码、租户名称;代码生成config.xml支持自定义,放同目录下config-custom.xml文件即可覆盖。

This commit is contained in:
thinkgem
2018-05-04 21:37:58 +08:00
parent 4d44442e53
commit b2f308148e
20 changed files with 142 additions and 154 deletions

View File

@@ -18,7 +18,7 @@
<!-- 用户数据相关缓存 -->
<cache name="userCache" maxEntriesLocalHeap="1000" eternal="true" overflowToDisk="false" diskPersistent="false" statistics="true"/>
<!-- 集团数据相关缓存 -->
<!-- 租户数据相关缓存 -->
<cache name="corpCache" maxEntriesLocalHeap="1000" eternal="true" overflowToDisk="false" diskPersistent="false" statistics="true"/>
<!-- 内容管理模块缓存 -->

View File

@@ -48,7 +48,7 @@
<cacheEventListenerFactory class="net.sf.ehcache.distribution.RMICacheReplicatorFactory" properties="replicatePuts=false,replicateUpdatesViaCopy=false"/>
</cache>
<!-- 集团数据相关缓存 -->
<!-- 租户数据相关缓存 -->
<cache name="corpCache" maxEntriesLocalHeap="1000" eternal="true" overflowToDisk="false" diskPersistent="false" statistics="true">
<cacheEventListenerFactory class="net.sf.ehcache.distribution.RMICacheReplicatorFactory" properties="replicatePuts=false,replicateUpdatesViaCopy=false"/>
</cache>

View File

@@ -194,7 +194,7 @@ jdbc:
# remarks: ""
# }]
#
# # 集团模式(多公司、多租户、SAAS模式
# # 多租户模式(SAAS模式
# useCorpModel: false
#
## 任务调度

View File

@@ -2,7 +2,7 @@
<configuration debug="false" scan="false">
<!-- Log file path -->
<property name="log.path" value="${logPath:-../}/logs" />
<property name="log.path" value="${logPath:-..}/logs" />
<!-- Spring boot default -->
<include resource="org/springframework/boot/logging/logback/defaults.xml" />