|
|
@ -117,6 +117,8 @@ public class GatewayClientsServiceImpl implements GatewayClientsService { |
|
|
//Validate
|
|
|
//Validate
|
|
|
if (ObjectUtils.isEmpty(param.getClientId())){ |
|
|
if (ObjectUtils.isEmpty(param.getClientId())){ |
|
|
return SimpleDataResponse.fail(ResponseCode.MSG_ERROR, msgLanguageChange.getParameterMapByCode(languageType, "paramsFormatError")); |
|
|
return SimpleDataResponse.fail(ResponseCode.MSG_ERROR, msgLanguageChange.getParameterMapByCode(languageType, "paramsFormatError")); |
|
|
|
|
|
} else if (param.getClientId().trim().toLowerCase().startsWith("http")){ |
|
|
|
|
|
return SimpleDataResponse.fail(ResponseCode.MSG_ERROR, msgLanguageChange.getParameterMapByCode(languageType, "paramsFormatError")); |
|
|
} |
|
|
} |
|
|
//Verify if exist
|
|
|
//Verify if exist
|
|
|
GatewayClientsExample gatewayClientsExample = new GatewayClientsExample(); |
|
|
GatewayClientsExample gatewayClientsExample = new GatewayClientsExample(); |
|
|
|