4444
This commit is contained in:
parent
3055b29f17
commit
fcd5a0eb0d
@ -41,7 +41,7 @@ public class OSSFileController {
|
|||||||
@Value("${file.storage.cloud.url.public}")
|
@Value("${file.storage.cloud.url.public}")
|
||||||
private String host;
|
private String host;
|
||||||
|
|
||||||
@ApiOperation(value = "获取上传文件 Policy", notes="type==1 普通;type==2 签名图片")
|
@ApiOperation(value = "获取上传文件 Policy ", notes="type==1 普通;type==2 签名图片")
|
||||||
@GetMapping("/file/getOSSPolicy/{type}")
|
@GetMapping("/file/getOSSPolicy/{type}")
|
||||||
public ResponseDTO<OSSPolicyVO> getOSSPolicy(@PathVariable int type){
|
public ResponseDTO<OSSPolicyVO> getOSSPolicy(@PathVariable int type){
|
||||||
OSSFileTypeEnum ossFileType = OSSFileTypeEnum.getByVal(type);
|
OSSFileTypeEnum ossFileType = OSSFileTypeEnum.getByVal(type);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user