add ali_sub_id

master
wangning 6 years ago
parent 968d367d6e
commit 54ee965213

@ -319,6 +319,7 @@ public class SimpleClientApplyServiceImpl implements SimpleClientApplyService {
sysClient.put("clean_days", apply.getIntValue("clean_days"));
sysClient.put("country", "AUS");
sysClient.put("credential_code", RandomStringUtils.random(32, true, true));
sysClient.put("ali_sub_merchant_id", clientMoniker);
clientMapper.save(sysClient);
int clientId = sysClient.getIntValue("client_id");

@ -213,6 +213,7 @@ public class ClientApplyImpl implements ClientApply, ApplicationEventPublisherAw
}
partner.put("source",2);//自主申请
partner.put("country","AUS");//自主申请
partner.put("ali_sub_merchant_id",info.getClientMoniker());
clientMapper.save(partner);
JSONObject clientConfig = new JSONObject();

@ -536,6 +536,7 @@ public class ClientManagerImpl implements ClientManager, ManagerTodoNoticeProvid
}
}
partner.put("create_time", new Date());
partner.put("ali_sub_merchant_id", registery.getClientMoniker());
partner.put("credential_code", RandomStringUtils.random(32, true, true));
partner.put("creator", manager.getString("manager_id"));
// if (manager.getIntValue("org_id") == 0) {

Loading…
Cancel
Save