|  |  |  | 
|---|
|  |  |  | 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); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | 
|---|
|  |  |  | private String pushDataList(List<Api1103> items, ApiRemoteService apiRemoteService, ApiConfs apiConf) { | 
|---|
|  |  |  |  | 
|---|
|  |  |  | //封装参数 | 
|---|
|  |  |  | ApiParam param = new ApiParam(apiConf, Constant.API_CATEGORY_11, Constant.API_CODE_1102); | 
|---|
|  |  |  | ApiParam param = new ApiParam(apiConf, Constant.API_CATEGORY_11, Constant.API_CODE_1103); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | //推送,数据为集合形式 | 
|---|
|  |  |  | ResponseDto responseDto = apiRemoteService.pushData(param, apiConf, items); | 
|---|