| | |
| | | String methodType = String.valueOf((Integer) map.get("method_type")); |
| | | if (map.containsKey("img")) { |
| | | if (map.get("img") != null) { |
| | | map.put("img", awsS3OSSFileService.getUrl(map.get("img").toString())); |
| | | map.put("img", Constants.IMAGES_HTTP+map.get("img").toString()); |
| | | } |
| | | } |
| | | if (map.containsKey("method_img")) { |
| | | if (map.get("method_img") != null) { |
| | | map.put("method_img", awsS3OSSFileService.getUrl(map.get("method_img").toString())); |
| | | map.put("method_img", Constants.IMAGES_HTTP+map.get("method_img").toString()); |
| | | } |
| | | } |
| | | if (map.containsKey("qrcode")) { |
| | | if (map.get("qrcode") != null) { |
| | | if ((!map.get("qrcode").toString().startsWith("http"))){ |
| | | map.put("qrcode", awsS3OSSFileService.getUrl(map.get("qrcode").toString())); |
| | | map.put("qrcode", Constants.IMAGES_HTTP+map.get("qrcode").toString()); |
| | | } |
| | | } |
| | | } |