You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
richie
d8d3c43de1
|
4 years ago | |
---|---|---|
lib | 4 years ago | |
src/main | 4 years ago | |
.gitignore | 5 years ago | |
build.gradle | 4 years ago | |
build.xml | 6 years ago | |
encrypt.xml | 4 years ago | |
plugin.xml | 4 years ago | |
pom.xml | 5 years ago | |
readme.md | 6 years ago |
readme.md
文件上传下载(OSS)
使用该插件可以在报表中将文件上传到OSS服务器并下载。
依赖插件
该插件依赖于"通用OSS配置插件",源码地址:https://git.fanruan.com/fanruan/oss-universal-config
注意事项
开发的时候是以maven的方式以来的,打包的时候注意要把依赖的maven包放到插件的lib目录下再打包,打出来的插件包才能正常使用。
OSS相关配置
在finedb的fine_conf_entity表中,包含以下4行:
id | value | 备注 |
---|---|---|
OssUniversalConfig.accessKeyId | xxx | OSS的秘钥编号 |
OssUniversalConfig.accessKeySecret | zzz | OSS的秘钥 |
OssUniversalConfig.buckets | bucket1,bucket2 | OSS的Bucket空间名字,供模板制作者选择 |
OssUniversalConfig.endPoint | oss-cn-shanghai.aliyuncs.com | OSS的位置 |