|
@@ -24,11 +24,6 @@ public class ImageController {
|
|
|
|
|
|
|
|
private final JdbcTemplate jdbcTemplate;
|
|
private final JdbcTemplate jdbcTemplate;
|
|
|
|
|
|
|
|
- @GetMapping("/")
|
|
|
|
|
- public String index() {
|
|
|
|
|
- return "{'version':'1.0.0'}";
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
private byte[] getFileBytes (MultipartFile file, String url) throws IOException {
|
|
private byte[] getFileBytes (MultipartFile file, String url) throws IOException {
|
|
|
if (url != null) {
|
|
if (url != null) {
|
|
|
return DownloadBytes.downloadAsBytesArray(url);
|
|
return DownloadBytes.downloadAsBytesArray(url);
|