@Override
public String createAccount(String businessType, String accountType, String merchant_id) {
String account="";
try{
UUID uuid = UUID.randomUUID();//作为流水号使用的
ContextParam contextParam=new ContextParam();
contextParam.setFlowID(uuid.toString());
contextParam.setInitiator(businessType);
CreateAccountParam createAccountParam=new CreateAccountParam();
createAccountParam.setAccountProviderCode(businessType);
createAccountParam.setAccountType(accountType);
createAccountParam.setCertificateNo(merchant_id);
contextParam.setAccountParam(createAccountParam);
log.info("createAccount :{}",new Gson().toJson(contextParam));
account=accountManagementFeignClient.createAccount(contextParam);
}catch(Exception e){
e.printStackTrace();
}
return account;
}