代码优化

This commit is contained in:
thinkgem
2022-05-08 16:19:09 +08:00
parent 07905c1e82
commit 6861ba125e
3 changed files with 5 additions and 2 deletions

View File

@@ -56,7 +56,7 @@ public class EmpUserServiceSupport extends CrudService<EmpUserDao, EmpUser>
@PostConstruct @PostConstruct
private void corpModelValid() throws Exception{ private void corpModelValid() throws Exception{
if (Global.isUseCorpModel() != Global.getPropertyToBoolean("user.useCorpModel", "false")){ if (Global.isUseCorpModel() != Global.getPropertyToBoolean("user.useCorpModel", "false")){
throw new Exception("\n\nuser.useCorpModel=true? 你开启了多租户模式,乎你的当前版本不是JeeSite专业版。\n"); throw new Exception("\n\nuser.useCorpModel=true? 你开启了多租户模式,乎你的当前版本不是JeeSite专业版。\n");
} }
} }

View File

@@ -110,7 +110,9 @@
type : 'value' type : 'value'
} }
], ],
//color: ['#FAD860','#F3A43B','#60C0DD','#C6E579'], color: [
'#5470c6','#ee6666','#73c0de','#3ba272','#9a60b4'
],
series : [ series : [
{ {
name:'成交', name:'成交',

View File

@@ -161,6 +161,7 @@
</warSourceExcludes> </warSourceExcludes>
<webappDirectory>${project.build.directory}/${project.artifactId}</webappDirectory> <webappDirectory>${project.build.directory}/${project.artifactId}</webappDirectory>
<warName>${project.artifactId}</warName> <warName>${project.artifactId}</warName>
<failOnMissingWebXml>false</failOnMissingWebXml>
<archive> <archive>
<addMavenDescriptor>false</addMavenDescriptor> <addMavenDescriptor>false</addMavenDescriptor>
</archive> </archive>