Browse Source

修改Account类

原志强 9 years ago
parent
commit
be9636f035

+ 2 - 2
src/main/java/com/cloudcross/ssp/web/advertiser/main/ad/AdvertiserController.java

@@ -94,7 +94,7 @@ public class AdvertiserController extends SimpleController {
 		}else{
 		}else{
 			paramMap.put("industryId", null);
 			paramMap.put("industryId", null);
 		}
 		}
-		com.cloudcross.ssp.back.model.Account account = getLoginUser();
+		Account account = getLoginUser();
 		//这个地方要注意,如果是广告主登录系统,就直接调到对应订单的哪里。如果是代理商登录系统,就把对应的广告主显示一下!
 		//这个地方要注意,如果是广告主登录系统,就直接调到对应订单的哪里。如果是代理商登录系统,就把对应的广告主显示一下!
 		paramMap.put("agentId", account.getAgentId());
 		paramMap.put("agentId", account.getAgentId());
 		int totalRow = advertiserService.countByParams(paramMap);
 		int totalRow = advertiserService.countByParams(paramMap);
@@ -136,7 +136,7 @@ public class AdvertiserController extends SimpleController {
 	@RequestMapping("/create")
 	@RequestMapping("/create")
 	public String create(HttpServletRequest request,Model model) {
 	public String create(HttpServletRequest request,Model model) {
 		model.addAttribute("sessionid", request.getSession().getId());
 		model.addAttribute("sessionid", request.getSession().getId());
-		com.cloudcross.ssp.back.model.Account account = getLoginUser();
+		com.cloudcross.ssp.model.Account account = getLoginUser();
 		if (account != null){
 		if (account != null){
 			model.addAttribute("agentId",account.getAgentId());
 			model.addAttribute("agentId",account.getAgentId());
 		}
 		}