| 
					
				 | 
			
			
				@@ -1,5 +1,6 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 package com.gree.mall.manager.config; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import cn.hutool.core.date.DateException; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import com.alibaba.fastjson.JSONObject; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import com.gree.mall.manager.exception.RemoteServiceException; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import com.gree.mall.manager.helper.ResponseHelper; 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -42,6 +43,8 @@ public class GlobalDefaultExceptionHandler { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             //log.error("网络异常:",ex); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             log.error("网络异常:"+ex.getMessage()+req.getRequestURI()+JSONObject.toJSONString(this.bodyParam(req))); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             return ResponseHelper.error(((RemoteServiceException) ex).getCode(),"温馨提示:"+ex.getMessage()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } else if (ex instanceof DateException) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            return ResponseHelper.error(((RemoteServiceException) ex).getCode(), "日期格式错误, 格式样例: yyyy-MM-dd 或 yyyy-MM-dd HH:mm:ss"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         log.error("系统错误:"+ex.getMessage()+req.getRequestURI()+JSONObject.toJSONString(this.bodyParam(req)),ex); 
			 |