| | |
| | | */ |
| | | @Expose |
| | | public String pushData(List<Api1113> items) { |
| | | ResponseDto responseDto; |
| | | String result = ""; |
| | | Api1113 d; |
| | | //获取配置 |
| | | String kqdm = items.get(0).getKqdm(); |
| | | ApiConfs apiConf = apiCommonService.getConf(kqdm); |
| | |
| | | //获取实现接口 |
| | | ApiRemoteService apiRemoteService = apiPushManager.getApiRemoteService(apiConf.getPushProtocol()); |
| | | if (null == apiRemoteService) return "系统没有当前推送协议配置,执行失败"; |
| | | if (PushProtocol.SB_SH_2023.getCode().equals(apiConf.getPushProtocol())) { |
| | | return pushDataList(items, apiRemoteService, apiConf); |
| | | } |
| | | |
| | | return pushDataSingle(items, apiRemoteService, apiConf); |
| | | } |
| | | |