\345\270\270\350\247\201\351\227\256\351\242\230(\346\240\271\346\215\256\345\234\272\346\231\257\345\217\212\346\250\241\345\235\227\346\225\264\347\220\206).md
... ...
@@ -149,6 +149,16 @@
149 149
150 150
## 3.文件APP(sie-snest-file)
151 151
152
+* 文件上传:
153
+ InputStream inputStream = (InputStream) i.get("inputStream");
154
+ String originalFilename = (String)i.get("originalFilename");
155
+ String bucketName = (String)i.get("bucketName");
156
+ Map<String, Object> fileInfo = (Map<String, Object>)rs.getMeta().get("base_file")
157
+ .call("putObject", rs, inputStream, originalFilename, bucketName);
158
+* 文件下载:
159
+ String fileId = "meta_attacment 的 id";
160
+ InputStream is = rs.get("base_file").call("getInputStream", fileId);
161
+
152 162
## 4.数据字典APP
153 163
154 164
## 5.日志APP