5 Star 16 Fork 63

ssssssss-team / spider-flow-oss

Create your Gitee Account
Explore and code with more than 8 million developers,Free private repositories !:)
Sign up
Clone or Download
contribute
Sync branch
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README.md

spider-flow-oss

介绍

spider-flow OSS插件

使用方法

导入db文件夹sp_oss.sql文件到数据库
在 spider-flow-web pom.xml引用

<dependency>
 	<groupId>org.spiderflow</groupId>
 	<artifactId>spider-flow-oss</artifactId>
 	<version>${spider-flow.version}</version>
</dependency>

使用操作

例子在example文件夹
上传(支持两种方式):

${resp.bytes.ossUpload('oss_id(配置的主键)','static/1.jpg')}  
${'http://1.jpg'.ossUpload('oss_id(配置的主键)','static/1.jpg')}  

返回值:

name:文件名称  
path:文件夹路径  
size:文件大小(单位:b)  
url:文件http地址  

删除:

${'static/1.jpg'.ossDelete()}

About

spider-flow OSS插件 expand collapse
Java
MIT
Cancel

Releases

No release

Contributors

All

Activities

Load More
can not load any more
Java
1
https://gitee.com/ssssssss-team/spider-flow-oss.git
git@gitee.com:ssssssss-team/spider-flow-oss.git
ssssssss-team
spider-flow-oss
spider-flow-oss
master

Search