|
|
@@ -1406,6 +1406,10 @@ public class WebpageController extends BaseController {
|
|
|
@RequestMapping(value = "/portal/service/safeguarding", method = RequestMethod.GET)
|
|
|
public ModelAndView portalServiceSafeguarding(HttpServletRequest request, ModelAndView modelview){
|
|
|
//获得法律顾问列表数据
|
|
|
+ String id = TokenManager.getUserId();
|
|
|
+ if(null != id){
|
|
|
+ modelview.addObject("userType", userService.selectByPrimaryKey(TokenManager.getUserToken().getId()).getType());
|
|
|
+ }
|
|
|
modelview.addObject("slist", userIdentityService.consultantList( null, 1, 4, null, null, null, 0, 12).getList());
|
|
|
modelview.setViewName("/portal/service/safeguarding");
|
|
|
return modelview;
|
|
|
@@ -1454,6 +1458,10 @@ public class WebpageController extends BaseController {
|
|
|
@RequestMapping(value = "/portal/adviser", method = RequestMethod.GET)
|
|
|
public ModelAndView portalAdviser(ModelAndView modelview){
|
|
|
modelview.setViewName("/portal/adviser");
|
|
|
+ String id = TokenManager.getUserId();
|
|
|
+ if(null != id){
|
|
|
+ modelview.addObject("userType", userService.selectByPrimaryKey(TokenManager.getUserToken().getId()).getType());
|
|
|
+ }
|
|
|
return modelview;
|
|
|
}
|
|
|
/**
|