Commit c53d051c authored by Xinghaoxiang's avatar Xinghaoxiang

编写readme

parent 38182811
...@@ -47,6 +47,21 @@ choose.chooseNetFile(userId,moduleName,isNextCloudFile,function(data){ ...@@ -47,6 +47,21 @@ choose.chooseNetFile(userId,moduleName,isNextCloudFile,function(data){
}) })
``` ```
#### 使用方法
传入对应数据后,进行了页面跳转 此时选择具体的文件点击后即可返回数据,具体返回值请参考下方返回值说明。
#### weex端返回值说明
- fileId 文件id
- fileName 文件名称
- filePath 文件路径
如果传入的是否属于nextCloud为true,则返回如下值
- fileId 代表的是文件存在服务器的真实目录。 调用接口会传入这个参数
- filePath 文件路径
---
#### 注意 #### 注意
nextCloud的模块需要自己再调用swagger中的一个接口进行传值。 接口位置在手写接口copy_nextcloud_modular nextCloud的模块需要自己再调用swagger中的一个接口进行传值。 接口位置在手写接口copy_nextcloud_modular
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment