Commit a19d172e by huangjy

feat: 上传oss url问题

parent 6a3e2db8
......@@ -152,7 +152,7 @@ public class AliyunOSSRepository implements AccessoryRepository {
e.printStackTrace();
}
logger.debug("完成向aliyun-oss保存文件: {}", System.currentTimeMillis() - begin);
return endpoint + "/" + accessoryBaseDir + "/" +path + "/" + fileName;
return bucketName + "." +endpoint + "/" + accessoryBaseDir + "/" +path + "/" + fileName;
}
/**
......
......@@ -173,7 +173,7 @@ aliyun:
oss:
accessKey: LTAI5tMjaFCiaYYLmtCLiuMj
secretKey: Oq1925mQ8663nxaf83MyoOGAbVM71H
endpoint: kangyang-oss.oss-cn-shenzhen.aliyuncs.com
endpoint: oss-cn-shenzhen.aliyuncs.com
bucket: kangyang-oss
baseDir: kangyang
......
......@@ -162,7 +162,7 @@ aliyun:
oss:
accessKey: LTAI5tMjaFCiaYYLmtCLiuMj
secretKey: Oq1925mQ8663nxaf83MyoOGAbVM71H
endpoint: kangyang-oss.oss-cn-shenzhen.aliyuncs.com
endpoint: oss-cn-shenzhen.aliyuncs.com
bucket: kangyang-oss
baseDir: kangyang
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment