oss签名修改
This commit is contained in:
parent
f70a495bb7
commit
f618d8e733
@ -67,7 +67,13 @@ public class PublicController {
|
|||||||
ossPath = "prod/";
|
ossPath = "prod/";
|
||||||
}
|
}
|
||||||
|
|
||||||
ossPath = ossPath + "static/images/exchange/";
|
if (request.getScene() == 1){
|
||||||
|
ossPath = ossPath + "static/images/exchange/";
|
||||||
|
}else if (request.getScene() == 2){
|
||||||
|
ossPath = ossPath + "static/video/exchange/";
|
||||||
|
}else{
|
||||||
|
return Response.error();
|
||||||
|
}
|
||||||
|
|
||||||
// 生成签名
|
// 生成签名
|
||||||
GetOssSignDto g = Oss.getOssSign(ossPath);
|
GetOssSignDto g = Oss.getOssSign(ossPath);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user