文件可上传至阿里云OSS中,也可以从OSS中下载文件。
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 
 
 
richie d8d3c43de1 修改版本 il y a 4 ans
lib 修改版本 il y a 4 ans
src/main 修改版本 il y a 4 ans
.gitignore 更新 '.gitignore' il y a 4 ans
build.gradle 移除过时的API调用 il y a 4 ans
build.xml REPORT-18400 报表API变更导致插件乱码问题 il y a 5 ans
encrypt.xml 多个提交不能生效的问题 il y a 4 ans
plugin.xml 移除过时的API调用 il y a 4 ans
pom.xml 依赖FineKit il y a 4 ans
readme.md 更新 il y a 5 ans

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的位置