Преглед на файлове

3个页面删除,高企服务的描述去掉标签

limin преди 7 години
родител
ревизия
dc53cbb4d4

+ 5 - 18
src/main/java/com/goafanti/common/controller/WebpageController.java

@@ -271,23 +271,6 @@ public class WebpageController extends BaseController {
 		modelview.setViewName("/portal/practicalPatent");
 		return modelview;
 	}
-	@RequestMapping(value = "/portal/continueHighApp", method = RequestMethod.GET)
-	public ModelAndView portalContinueHighApp(HttpServletRequest request, ModelAndView modelview) {
-		modelview.setViewName("/portal/continueHighApp");
-		return modelview;
-	}
-
-	@RequestMapping(value = "/portal/militaryProjectApp", method = RequestMethod.GET)
-	public ModelAndView portalMilitaryProjectApp(HttpServletRequest request, ModelAndView modelview) {
-		modelview.setViewName("/portal/militaryProjectApp");
-		return modelview;
-	}
-
-	@RequestMapping(value = "/portal/practicalPatentApp", method = RequestMethod.GET)
-	public ModelAndView portalPracticalPatentApp(HttpServletRequest request, ModelAndView modelview) {
-		modelview.setViewName("/portal/practicalPatentApp");
-		return modelview;
-	}
 
 	@RequestMapping(value = "/admin/order", method = RequestMethod.GET)
 	public ModelAndView adminOrder(HttpServletRequest request, ModelAndView modelview) {
@@ -352,7 +335,11 @@ public class WebpageController extends BaseController {
 					null);
 			for (JtBusinessProject project : gaoqiList) {
 				if (project.getMinImgUrl() != null && project.getMinImgUrl().length() <= 0)
-					project.setMinImgUrl(null);
+					project.setMinImgUrl(null);
+				//去除数据中的标签
+				if(StringUtils.isNotBlank(project.getIntroduce())){
+					project.setIntroduce(project.getIntroduce().replaceAll("\\<.*?>", "")); 
+				}
 			}
 			modelview.addObject("gaoqiList", gaoqiList);
 			modelview.addObject("gqc1", gaoqi);

Файловите разлики са ограничени, защото са твърде много
+ 0 - 1
src/main/webapp/WEB-INF/views/portal/continueHighApp.html


Файловите разлики са ограничени, защото са твърде много
+ 0 - 1
src/main/webapp/WEB-INF/views/portal/militaryProjectApp.html


Файловите разлики са ограничени, защото са твърде много
+ 0 - 1
src/main/webapp/WEB-INF/views/portal/practicalPatentApp.html