|
|
|
@ -291,11 +291,11 @@ public class ClientManagerImpl implements ClientManager, ManagerTodoNoticeProvid
|
|
|
|
|
@Resource
|
|
|
|
|
private MpWechatApiProvider mpWechatApiProvider;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@PostConstruct
|
|
|
|
|
public void init() {
|
|
|
|
|
tags.add("account");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
public JSONObject getSysRateConfig() {
|
|
|
|
|
String rateConfig = sysConfigManager.getSysConfig().getString("sys_rates");
|
|
|
|
@ -711,6 +711,7 @@ public class ClientManagerImpl implements ClientManager, ManagerTodoNoticeProvid
|
|
|
|
|
}
|
|
|
|
|
clientInfoCacheSupport.clearClientCache(clientId);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void recordSubMerchantLog(JSONObject client, JSONObject subMerchantInfo, JSONObject manager) {
|
|
|
|
|
JSONObject log = new JSONObject();
|
|
|
|
|
log.put("sub_merchant_id_after", subMerchantInfo.getString("sub_merchant_id"));
|
|
|
|
@ -1704,7 +1705,8 @@ public class ClientManagerImpl implements ClientManager, ManagerTodoNoticeProvid
|
|
|
|
|
qrboardConfig.put("brandw", "600");
|
|
|
|
|
qrboardConfig.put("brandh", "200");
|
|
|
|
|
String type = qrboardConfig.getString("type");
|
|
|
|
|
// QRBoard board = QRBoardProvider.getQRBoard(type, qrboardConfig, client, config,mongoTemplate,manager,plantform);
|
|
|
|
|
// QRBoard board = QRBoardProvider.getQRBoard(type, qrboardConfig, client,
|
|
|
|
|
// config,mongoTemplate,manager,plantform);
|
|
|
|
|
QRBoard board = QRBoardProvider.getQRBoard(type, qrboardConfig, client, config);
|
|
|
|
|
board.drawBoardImage(ous);
|
|
|
|
|
} catch (Exception e) {
|
|
|
|
@ -1725,7 +1727,8 @@ public class ClientManagerImpl implements ClientManager, ManagerTodoNoticeProvid
|
|
|
|
|
JSONObject qrboardConfig = JSON.parseObject(qrBoardConfigString);
|
|
|
|
|
|
|
|
|
|
String type = qrboardConfig.getString("type");
|
|
|
|
|
// QRBoard board = QRBoardProvider.getQRBoard(type, qrboardConfig, client, config,mongoTemplate,manager,plantform);
|
|
|
|
|
// QRBoard board = QRBoardProvider.getQRBoard(type, qrboardConfig, client,
|
|
|
|
|
// config,mongoTemplate,manager,plantform);
|
|
|
|
|
QRBoard board = QRBoardProvider.getQRBoard(type, qrboardConfig, client, config);
|
|
|
|
|
board.drawBoardImage(ous);
|
|
|
|
|
} catch (Exception e) {
|
|
|
|
@ -3496,4 +3499,10 @@ public class ClientManagerImpl implements ClientManager, ManagerTodoNoticeProvid
|
|
|
|
|
clientWithConfig.putAll(clientConfigService.find(client_id));
|
|
|
|
|
return clientWithConfig;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
public JSONObject simpleQuery(JSONObject param, int page, int limit) {
|
|
|
|
|
PageList<JSONObject> partners = clientMapper.listPartners(param, new PageBounds(page, limit, Order.formString("create_time.desc")));
|
|
|
|
|
return PageListUtils.buildPageListResult(partners);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|