2019-01-20
springboot-集成腾讯云存储COS API
springboot 评论:0 浏览:506

转载请注明出处:https://oldnoop.tech/c/192.html

源代码地址

https://github.com/oldnoop/cos

单独使用spring

引入依赖

编写资源配置文件

coskey.properties 参考cos-spring的jar包中的/META-INF/cos/coskey.properties

配置servlet

例如web.xml中的配置

使用springboot

引入依赖

编写资源配置文件

参考cos-spring-boot-example中的src/main/resources/application.properties



  • 转载请注明出处:https://oldnoop.tech/c/192.html

Copyright © 2018 oldnoop.tech. All Rights Reserved

鄂ICP备2023022735号-1