|
|
@ -120,6 +120,12 @@ public class AliforexcelServiceImpl implements AliforexcelService {
|
|
|
|
if (StringUtils.isBlank(client.getString("company_website"))) {
|
|
|
|
if (StringUtils.isBlank(client.getString("company_website"))) {
|
|
|
|
client.put("company_website", client.getString("ali_sub_merchant_id")+".royalpay.com.au");
|
|
|
|
client.put("company_website", client.getString("ali_sub_merchant_id")+".royalpay.com.au");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if (StringUtils.isBlank(client.getString("alipayindustry"))) {
|
|
|
|
|
|
|
|
client.put("alipayindustry", "5311");
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
if (StringUtils.isBlank(client.getString("business_structure"))) {
|
|
|
|
|
|
|
|
client.put("business_structure", "da");
|
|
|
|
|
|
|
|
}
|
|
|
|
checkPartnerInfo(client,"online");
|
|
|
|
checkPartnerInfo(client,"online");
|
|
|
|
} catch (InvalidParameterException e) {
|
|
|
|
} catch (InvalidParameterException e) {
|
|
|
|
JSONObject exception = new JSONObject();
|
|
|
|
JSONObject exception = new JSONObject();
|
|
|
@ -181,7 +187,12 @@ public class AliforexcelServiceImpl implements AliforexcelService {
|
|
|
|
if (StringUtils.isBlank(client.getString("company_website"))) {
|
|
|
|
if (StringUtils.isBlank(client.getString("company_website"))) {
|
|
|
|
client.put("company_website", client.getString("ali_sub_merchant_id")+".royalpay.com.au");
|
|
|
|
client.put("company_website", client.getString("ali_sub_merchant_id")+".royalpay.com.au");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
checkPartnerInfo(client,"online");
|
|
|
|
if (StringUtils.isBlank(client.getString("alipayindustry"))) {
|
|
|
|
|
|
|
|
client.put("alipayindustry", "5311");
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
if (StringUtils.isBlank(client.getString("business_structure"))) {
|
|
|
|
|
|
|
|
client.put("business_structure", "da");
|
|
|
|
|
|
|
|
}
|
|
|
|
} catch (InvalidParameterException e) {
|
|
|
|
} catch (InvalidParameterException e) {
|
|
|
|
JSONObject exception = new JSONObject();
|
|
|
|
JSONObject exception = new JSONObject();
|
|
|
|
exception.put("client_moniker", client.getString("client_moniker"));
|
|
|
|
exception.put("client_moniker", client.getString("client_moniker"));
|
|
|
|