|
|
|
@ -1500,6 +1500,9 @@ public class ClientManagerImpl implements ClientManager, ManagerTodoNoticeProvid
|
|
|
|
|
if (client == null) {
|
|
|
|
|
throw new InvalidShortIdException();
|
|
|
|
|
}
|
|
|
|
|
if (StringUtils.isEmpty(profileKey)) {
|
|
|
|
|
throw new BadRequestException("Key not provided");
|
|
|
|
|
}
|
|
|
|
|
clientModifySupport.processModify(new CustomSwitchModify(manager, clientMoniker, profileKey, allow, cli -> {
|
|
|
|
|
JSONObject profileUpdate = new JSONObject();
|
|
|
|
|
profileUpdate.put(profileKey, allow);
|
|
|
|
@ -7060,7 +7063,7 @@ public class ClientManagerImpl implements ClientManager, ManagerTodoNoticeProvid
|
|
|
|
|
JSONObject upayProfileInfo = sysClientUpayProfileMapper.findInfo(clientId);
|
|
|
|
|
JSONObject info = new JSONObject();
|
|
|
|
|
info.put("down_date", formatter.print(new DateTime()));//下载文件日
|
|
|
|
|
info.put("letter_offer_sub_time",currentRate.getDate("active_time"));
|
|
|
|
|
info.put("letter_offer_sub_time", currentRate.getDate("active_time"));
|
|
|
|
|
info.put("bussiness_name", (client.containsKey("business_name") ? client.getString("business_name") : legalInfo.getString("representative_person")) + " " + client.getString("abn"));//商圈类型
|
|
|
|
|
info.put("partner_address", client.getString("address"));//商家店铺地址
|
|
|
|
|
info.put("partner_country", client.getString("country"));//国家
|
|
|
|
|