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