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
0decc137e1
|
6 years ago | |
---|---|---|
lib | 6 years ago | |
src/main | 6 years ago | |
.gitignore | 6 years ago | |
build.xml | 6 years ago | |
plugin.xml | 6 years ago | |
pom.xml | 6 years ago | |
readme.md | 6 years ago |
readme.md
文件上传下载(OSS)
可以在报表中将文件上传到OSS服务器并下载。
注意事项
开发的时候是以maven的方式以来的,打包的时候注意要把依赖的maven包放到插件的lib目录下再打包,打出来的插件包才能正常使用。
OSS相关配置
安装插件并修改响应的配置文件,在finedb的fine_conf_entity表中,增加4行:
id | value | 备注 |
---|---|---|
FileSubmitOssServerConfig.accessKeyId | xxx | OSS的秘钥编号 |
FileSubmitOssServerConfig.accessKeySecret | zzz | OSS的秘钥 |
FileSubmitOssServerConfig.buckets | ["bucket1","bucket2"] | OSS的Bucket空间名字,供模板制作者选择 |
FileSubmitOssServerConfig.endPoint | oss-cn-shanghai.aliyuncs.com | OSS的位置 |