| | |
| | | import com.bstek.dorado.annotation.Expose; |
| | | import com.fzzy.api.Constant; |
| | | import com.fzzy.api.data.ApiParam; |
| | | import com.fzzy.api.data.SyncProtocol; |
| | | import com.fzzy.api.dto.ResponseDto; |
| | | import com.fzzy.api.entity.ApiConfs; |
| | | import com.fzzy.api.entity.ApiInfoData; |
| | |
| | | infoData.setId(data.getZjbzbm()); |
| | | infoData.setKqdm(data.getKqdm()); |
| | | infoData.setInteType(WhjlConstant.API_CATEGORY_20); |
| | | infoData.setInteId(WhjlConstant.API_CODE_2001); |
| | | infoData.setInteId(WhjlConstant.API_CODE_2010); |
| | | infoData.setUpdateTime(new Date()); |
| | | infoData.setDataId(data.getZjbzbm()); |
| | | infoData.setData(JSON.toJSONString(data)); |
| | |
| | | String result = ""; |
| | | List<WhjlShareApi2010> list; |
| | | for (ApiConfs apiConf : apiConfs) { |
| | | if(!apiConf.getSyncProtocol().equals(SyncProtocol.FZZY_V40_WHJL.getCode())){ |
| | | continue; |
| | | } |
| | | apiService = apiPushManager.getApiRemoteService(apiConf.getPushProtocol()); |
| | | if (null == apiService) { |
| | | continue; |