1、使用SDK进行上传
就到达了如下地址,按照里面步骤来即可
https://help.aliyun.com/document_detail/32008.htm?spm=a2c4g.11186623.0.0.6e0340c2gZddUH#concept-32008-zh
2、使用springcloudalibaba(推荐)
https://spring-cloud-alibaba-group.github.io/github-pages/2021/en-us/index.html#_spring_cloud_alibaba_cloud_oss