xierz hace 4 años
padre
commit
450f8c677c

+ 0 - 1
src/main/java/net/mingsoft/cms/dao/ICategoryDao.xml

@@ -144,7 +144,6 @@
 				<if test="updateDate != null"> and update_date=#{updateDate} </if>
 				<if test="del != null"> and del=#{del} </if>
 			</where>
-			limit 0,1
 		</select>
 
 	<!-- 模糊查询开始 -->

+ 0 - 1
src/main/java/net/mingsoft/cms/dao/ICmsHistoryLogDao.xml

@@ -79,7 +79,6 @@
 				<if test="updateDate != null"> and update_date=#{updateDate} </if>
 				<if test="del != null"> and del=#{del} </if>
 			</where>
-			limit 0,1
 		</select>
 
 

+ 0 - 1
src/main/java/net/mingsoft/cms/dao/IContentDao.xml

@@ -179,7 +179,6 @@
 				<if test="updateBy &gt; 0"> and update_by=#{updateBy} </if>
 				<if test="updateDate != null"> and update_date=#{updateDate} </if>
 			</where>
-			limit 0,1
 		</select>
 
 

+ 1 - 1
src/main/resources/application.yml

@@ -24,7 +24,7 @@ ms:
   manager:
     path: /ms #后台访问的路径,如:http://项目/ms/login.do,生产的时候建议修改
     view-path: /WEB-INF/manager #后台视图层路径配置
-    check-code: true #默认开启验证码验证,false验证码不验证
+    check-code: false #默认开启验证码验证,false验证码不验证
 
   upload:
     enable-web: true  #启用web层的上传