oss签名修改

This commit is contained in:
wucongxing8150 2025-06-16 16:05:36 +08:00
parent f70a495bb7
commit f618d8e733

View File

@ -67,7 +67,13 @@ public class PublicController {
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);