|  | @ -81,6 +81,7 @@ public class CustomerController extends BaseController {
 | 
	
		
			
				|  |  |     @RequestMapping(value = "/logout",produces="application/json;charset=UTF-8")
 | 
	
		
			
				|  |  |     @ResponseBody
 | 
	
		
			
				|  |  |     public String logout(HttpServletRequest req) throws Exception {
 | 
	
		
			
				|  |  |         String code = (String) req.getSession().getAttribute("code");
 | 
	
		
			
				|  |  |         req.getSession().removeAttribute("userInfo");
 | 
	
		
			
				|  |  |         req.getSession().removeAttribute("mobile");
 | 
	
		
			
				|  |  |         req.getSession().removeAttribute("code");
 | 
	
	
		
			
				|  | @ -88,7 +89,7 @@ public class CustomerController extends BaseController {
 | 
	
		
			
				|  |  |         req.getSession().removeAttribute("isLogin");
 | 
	
		
			
				|  |  |         WlyyCustomerLog wlyyCustomerLog = new WlyyCustomerLog();
 | 
	
		
			
				|  |  |         wlyyCustomerLog.setCreateTime(new Date());
 | 
	
		
			
				|  |  |         wlyyCustomerLog.setUser((String) req.getSession().getAttribute("code"));
 | 
	
		
			
				|  |  |         wlyyCustomerLog.setUser(code);
 | 
	
		
			
				|  |  |         wlyyCustomerLog.setType(0);
 | 
	
		
			
				|  |  |         wlyyCustomerLogService.save(wlyyCustomerLog);
 | 
	
		
			
				|  |  |         return write(1,"退出成功");
 |