Antiloveg 8 anni fa
parent
commit
478483b9ef

+ 9 - 3
src/main/java/com/goafanti/common/controller/WebpageController.java

@@ -176,9 +176,15 @@ public class WebpageController extends BaseController {
 		return modelview;
 	}
 
-	@RequestMapping(value = "/portal/search/subscriber", method = RequestMethod.GET)
-	public ModelAndView portalSearchSubscriber(HttpServletRequest request, ModelAndView modelview) {
-		modelview.setViewName("/portal/search/subscriber");
+	@RequestMapping(value = "/portal/search/subscriberUser", method = RequestMethod.GET)
+	public ModelAndView portalSearchSubscriberUser(HttpServletRequest request, ModelAndView modelview) {
+		modelview.setViewName("/portal/search/subscriberUser");
+		return modelview;
+	}
+	
+	@RequestMapping(value = "/portal/search/subscriberOrg", method = RequestMethod.GET)
+	public ModelAndView portalSearchSubscriberOrg(HttpServletRequest request, ModelAndView modelview) {
+		modelview.setViewName("/portal/search/subscriberOrg");
 		return modelview;
 	}
 	

+ 2 - 2
src/main/webapp/WEB-INF/views/portal/search/subscriber.html

@@ -3,14 +3,14 @@
 	xmlns:th="http://www.thymeleaf.org">
 <head th:replace="common::header(~{::title},~{::link})">
 	<title>伙伴搜索页面</title>
-	<link th:href="${staticHost+'/portal/search/subscriber.css'}" rel="stylesheet">
+	<link th:href="${staticHost+'/portal/search/subscriberOrg.css'}" rel="stylesheet">
 </head>
 <body>
 	<div id="root"></div>
 	
 	<div th:replace="common::footer(~{::script})">
 		<script type="text/javascript" th:src="${staticHost+'/vendors.js'}"></script>
-		<script type="text/javascript" th:src="${staticHost+'/portal/search/subscriber.js'}"></script>
+		<script type="text/javascript" th:src="${staticHost+'/portal/search/subscriberOrg.js'}"></script>
 	</div>
 </body>
 </html>

+ 16 - 0
src/main/webapp/WEB-INF/views/portal/search/subscriberUser.html

@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml"
+	xmlns:th="http://www.thymeleaf.org">
+<head th:replace="common::header(~{::title},~{::link})">
+	<title>行家搜索页面</title>
+	<link th:href="${staticHost+'/portal/search/subscriberUser.css'}" rel="stylesheet">
+</head>
+<body>
+	<div id="root"></div>
+	
+	<div th:replace="common::footer(~{::script})">
+		<script type="text/javascript" th:src="${staticHost+'/vendors.js'}"></script>
+		<script type="text/javascript" th:src="${staticHost+'/portal/search/subscriberUser.js'}"></script>
+	</div>
+</body>
+</html>