package com.example.jz.controller;
|
|
import com.example.jz.service.MinIOService;
|
import org.springframework.web.bind.annotation.PathVariable;
|
import org.springframework.web.bind.annotation.RequestMapping;
|
import org.springframework.web.bind.annotation.RequestMethod;
|
import org.springframework.web.bind.annotation.RestController;
|
|
import javax.annotation.Resource;
|
|
@RestController
|
@RequestMapping("/minio")
|
public class MinIOController {
|
@Resource
|
private MinIOService minIOService;
|
|
@RequestMapping(method = RequestMethod.GET,value = "/{fileName}")
|
public String getUrl(@PathVariable String fileName){
|
return "";
|
}
|
}
|