diff --git a/bin-xml b/bin-xml index 03bf33c1..870a84ab 100644 --- a/bin-xml +++ b/bin-xml @@ -10,7 +10,7 @@ 4.0.0 net.mingsoft ms-mcms - 5.1 + 5.2.0 ms-mcms 1.8 diff --git a/doc/内容管理类图.asta b/doc/内容管理类图.asta deleted file mode 100644 index 6cc57d58..00000000 Binary files a/doc/内容管理类图.asta and /dev/null differ diff --git a/lib/DmJdbcDriver18.jar b/lib/DmJdbcDriver18.jar deleted file mode 100644 index 1c16ab49..00000000 Binary files a/lib/DmJdbcDriver18.jar and /dev/null differ diff --git a/pom.xml b/pom.xml index ec4ee72c..d722601a 100644 --- a/pom.xml +++ b/pom.xml @@ -3,77 +3,108 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> - net.mingsoft - ms-pom - 2.0.4 + org.springframework.boot + spring-boot-starter-parent + 2.2.2.RELEASE 4.0.0 net.mingsoft ms-mcms 5.2.0.RELEASE ms-mcms - - jar - + 1.8 UTF-8 - - - central-repos - Central Repository 2 - https://repo.maven.apache.org/maven2/ - - - - + + + central-repos + Central Repository 2 + https://repo.maven.apache.org/maven2/ + + + + net.mingsoft ms-base + 1.0.25 + net.mingsoft ms-basic + 1.0.36 + net.mingsoft ms-mdiy + 1.0.28 + net.mingsoft ms-mpeople + 1.0.33 + net.mingsoft store-client + 5.2 - - dm - dm - 8 - system - ${project.basedir}/lib/DmJdbcDriver18.jar - + ms-mcms + + + src/main/webapp + + + static/ + html/ + upload/ + template/ + + + + + + src/main/resources + + + src/main/java + + **/*.java + + + + + org.springframework.boot + spring-boot-maven-plugin + + true + + org.apache.maven.plugins maven-compiler-plugin @@ -97,22 +128,7 @@ - - - - src/main/webapp - - - src/main/resources - - - src/main/java - - **/*.java - - - compile \ No newline at end of file diff --git a/src/main/java/net/mingsoft/config/WebConfig.java b/src/main/java/net/mingsoft/config/WebConfig.java index cb185624..4ee4a48f 100644 --- a/src/main/java/net/mingsoft/config/WebConfig.java +++ b/src/main/java/net/mingsoft/config/WebConfig.java @@ -86,8 +86,8 @@ public class WebConfig implements WebMvcConfigurer { @Override public void addResourceHandlers(ResourceHandlerRegistry registry) { - registry.addResourceHandler(uploadMapping).addResourceLocations(File.separator+uploadFloderPath+File.separator,"file:"+uploadFloderPath+File.separator); - registry.addResourceHandler("/template/**").addResourceLocations(File.separator+template+File.separator,"file:"+template+File.separator); + registry.addResourceHandler(uploadMapping).addResourceLocations(File.separator+uploadFloderPath+File.separator,"file:"+uploadFloderPath+File.separator,"classpath:/template/"); + registry.addResourceHandler("/template/**").addResourceLocations(File.separator+template+File.separator,"file:"+template+File.separator,"classpath:/html/"); registry.addResourceHandler("/html/**").addResourceLocations("/html/","file:html/"); //三种映射方式 webapp下、当前目录下、jar内 registry.addResourceHandler("/app/**").addResourceLocations("/app/","file:app/", "classpath:/app/"); @@ -137,7 +137,7 @@ public class WebConfig implements WebMvcConfigurer { */ @Override public void addViewControllers(ViewControllerRegistry registry) { - registry.addViewController("/").setViewName("forward:/index"); + registry.addViewController("/").setViewName("forward:/index.do"); registry.setOrder(Ordered.HIGHEST_PRECEDENCE); WebMvcConfigurer.super.addViewControllers(registry); } diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 30eac8bf..07628eb4 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -20,7 +20,7 @@ ms: manager: path: /ms #后台访问的路径,如:http://项目/ms/login.do,生产的时候建议修改 view-path: /WEB-INF/manager #后台视图层路径配置 - check-code: false #默认开启验证码验证,false验证码不验证 + check-code: true #默认开启验证码验证,false验证码不验证 upload: enable-web: true #启用web层的上传 diff --git a/src/main/webapp/template/1/default/about.htm b/src/main/webapp/template/1/default/about.htm index 98c23dc1..25d58644 100755 --- a/src/main/webapp/template/1/default/about.htm +++ b/src/main/webapp/template/1/default/about.htm @@ -42,7 +42,7 @@ ${field.typetitle} {/ms:channel} <#assign typetitle=field.typetitle> - <#if field.leaf> + <#if field.typeleaf> {ms:channel type='level'} ${field.typetitle} {/ms:channel} diff --git a/src/main/webapp/template/1/default/css/app.css b/src/main/webapp/template/1/default/css/app.css index adc399c7..2e9b46be 100755 --- a/src/main/webapp/template/1/default/css/app.css +++ b/src/main/webapp/template/1/default/css/app.css @@ -605,7 +605,6 @@ .ms-nav .body .nav-search .ms-search-input .ms-search-button { flex-direction: row; - background-image: url({ms:global.host/}/{ms:global.style/}/images/1601265263422.png); display: flex; width: 40px; box-sizing: border-box; diff --git a/src/main/webapp/template/1/default/nav.htm b/src/main/webapp/template/1/default/nav.htm index daa08cfe..0b1b0565 100755 --- a/src/main/webapp/template/1/default/nav.htm +++ b/src/main/webapp/template/1/default/nav.htm @@ -2,7 +2,7 @@ <#assign typeid=field.typeid>
-