|
|
|
@ -226,7 +226,7 @@ public class AliforexcelServiceImpl implements AliforexcelService {
|
|
|
|
|
private void checkPartnerInfo(JSONObject client,String type) {
|
|
|
|
|
if ("online".equals(type)) {
|
|
|
|
|
if (!client.containsKey("company_website") || StringUtils.isBlank(client.getString("company_website"))) {
|
|
|
|
|
throw new InvalidParameterException("Website cannot be empty ");
|
|
|
|
|
client.put("company_website", "https://www.royalpay.com.au/");
|
|
|
|
|
}
|
|
|
|
|
}else {
|
|
|
|
|
if (!client.containsKey("store_photo") && !client.containsKey("company_photo")) {
|
|
|
|
|