| | |
| | | Gd2022Api1101 api1101 = new Gd2022Api1101(); |
| | | BeanUtils.copyProperties(data, api1101); |
| | | return JSON.toJSONString(api1101); |
| | | } else if (Constant.API_CODE_1109.equals(inteId)) { |
| | | } else if (Constant.API_CODE_1102.equals(inteId)) { |
| | | Gd2022Api1102 api1102 = new Gd2022Api1102(); |
| | | BeanUtils.copyProperties(data, api1102); |
| | | return JSON.toJSONString(api1102); |
| | | } else if (Constant.API_CODE_1103.equals(inteId)) { |
| | | Gd2022Api1103 api1103 = new Gd2022Api1103(); |
| | | BeanUtils.copyProperties(data, api1103); |
| | | return JSON.toJSONString(api1103); |
| | | } else if (Constant.API_CODE_1104.equals(inteId)) { |
| | | Gd2022Api1104 api1104 = new Gd2022Api1104(); |
| | | BeanUtils.copyProperties(data, api1104); |
| | | return JSON.toJSONString(api1104); |
| | | } else if (Constant.API_CODE_1105.equals(inteId)) { |
| | | Gd2022Api1105 api1105 = new Gd2022Api1105(); |
| | | BeanUtils.copyProperties(data, api1105); |
| | | return JSON.toJSONString(api1105); |
| | | }else if (Constant.API_CODE_1109.equals(inteId)) { |
| | | //封装数据 |
| | | Gd2022Api1109 api1109 = new Gd2022Api1109(); |
| | | BeanUtils.copyProperties(data, api1109); |
| | |
| | | } |
| | | //先上传文件,获取文件id |
| | | GD2022ResponseDto responseDto = GD2022HttpClientUtil.postUploadData(url, authToken, api1109.getWjdz()); |
| | | System.out.println((String) responseDto.getData()); |
| | | //设置上传文件id |
| | | api1109.setFileStorageId((String) responseDto.getData()); |
| | | return JSON.toJSONString(api1109); |