| 
					
				 | 
			
			
				@ -68,6 +68,9 @@ public class WechatService extends BaseJpaService<WxWechat, WechatDao> { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        if (StringUtils.isEmpty(wechat.getAppSecret())) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            throw new ApiException(WxContants.Wechat.message_fail_appSecret_is_null, CommonContants.common_error_params_code); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        if (StringUtils.isEmpty(wechat.getId())) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            throw new ApiException(WxContants.Wechat.message_fail_id_is_null, CommonContants.common_error_params_code); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        WxWechat wechatTem = wechatDao.findByAppIdExcludeCode(wechat.getAppId(),wechat.getCode()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        if(wechatTem!=null){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            throw new ApiException(WxContants.Wechat.message_fail_appId_exist, CommonContants.common_error_params_code); 
			 |