文章分类 -  DolphinHybrid

上一页 1 2 3 4 5 6 7 8 9 10 ··· 13 下一页
uploadLocalFile 通用上传本地文件
摘要:uploadLocalFile ^7.8 通用上传本地文件 #请求参数 Prop Type Default Comment domain String N/A 服务器domain path String N/A 服务器path filePath String N/A 要上传文件资源的路径 (本地相对 阅读全文
posted @ 2024-12-21 14:38 AtlasLapetos 阅读(8) 评论(0) 推荐(0)
sendCentralCloudRequest 发送给中台的通用网络请求接口
摘要:sendCentralCloudRequest ^5.0.0 发送给中台的通用网络请求接口 #请求参数 Prop Type Required Default Description param Object Y {} 属性: url: method:{ Type: String, Default: 阅读全文
posted @ 2024-12-21 14:38 AtlasLapetos 阅读(15) 评论(0) 推荐(0)
requestDataTransmit 服务透传接口
摘要:requestDataTransmit ^6.8 服务透传接口。提供给插件发送请求至事业部的品类服务器。此接口美居APP会将请求内容加密,然后发送给“云平台”进行中转发送至事业部品类服务器。 #请求参数 Prop Type Required Default Description param Obj 阅读全文
posted @ 2024-12-21 14:38 AtlasLapetos 阅读(15) 评论(0) 推荐(0)
downloadFile http文件下载
摘要:downloadFile ^6.8 http文件下载 #请求参数 Prop Type Value Comment url String - 需要下载的文件网络地址 header Object - headHTTP 请求的 Header,Header 中不能设置 Refererer配置 timeout 阅读全文
posted @ 2024-12-21 14:38 AtlasLapetos 阅读(20) 评论(0) 推荐(0)
uploadFile http文件上传
摘要:uploadFile ^6.8 http文件上传 #请求参数 Prop Type Value Comment url String - 服务器地址 filePath Object - 要上传文件资源的路径 (本地相对路径) name Number - 文件对应的 key header Number 阅读全文
posted @ 2024-12-21 14:38 AtlasLapetos 阅读(14) 评论(0) 推荐(0)
deleteDownloadFile 删除文件下载相关信息
摘要:deleteDownloadFile ^8.11 删除文件下载相关信息。会删除已下载的文件和断点续传的信息。再次下载时会重新开始下载 #请求参数 Prop Type Required Default Comment downloadFolder String N downFiles 自定义下载目录, 阅读全文
posted @ 2024-12-21 14:38 AtlasLapetos 阅读(11) 评论(0) 推荐(0)
pauseDownloadFile 暂停文件下载
摘要:pauseDownloadFile ^8.11 暂停文件下载 #请求参数 Prop Type Required Default Comment downloadFolder String N downFiles 自定义下载目录,默认目录为 WeexApp/downFiles. downloadPat 阅读全文
posted @ 2024-12-21 14:38 AtlasLapetos 阅读(11) 评论(0) 推荐(0)
startDownloadFile 开始文件下载
摘要:startDownloadFile ^8.11 开始文件下载 #请求参数 Prop Type Required Default Comment downloadFolder String N downFiles 自定义下载目录,默认目录为 WeexApp/downFiles. downloadPat 阅读全文
posted @ 2024-12-21 14:38 AtlasLapetos 阅读(13) 评论(0) 推荐(0)
getDownloadFileInfo 获取文件的下载信息
摘要:getDownloadFileInfo ^8.11 获取文件的下载信息,包括下载进度和状态。一般在页面初始化时调用。如在当前页面下载了 20%,退出页面,再次进入时只是显示当前下载进度时可以调用该方法 #请求参数 Prop Type Required Default Comment download 阅读全文
posted @ 2024-12-21 14:38 AtlasLapetos 阅读(38) 评论(0) 推荐(0)
getFileList 获取当前weex应用已经保存的文件
摘要:getFileList ^6.8 获取当前weex应用已经保存的文件 #请求参数 Prop Type Value Comment filePath String - 获取文件列表的文件夹 #参数代码示例 let params = { filePath: 'localImages' //参数值为空时 阅读全文
posted @ 2024-12-21 14:38 AtlasLapetos 阅读(7) 评论(0) 推荐(0)
isFileExist 判断当前文件是否存在
摘要:isFileExist ^6.8 判断当前文件是否存在 #请求参数 Prop Type Value Comment filePath String - 需要判断的文件/文件夹 #参数代码示例 let params = { filePath: 'filename.txt' } #接口调用示例 let 阅读全文
posted @ 2024-12-21 14:38 AtlasLapetos 阅读(11) 评论(0) 推荐(0)
deleteFile 删除文件 / 文件夹
摘要:deleteFile ^6.8 删除文件 / 文件夹 #请求参数 Prop Type Value Comment filePath String - 需要删除的文件/文件夹 #参数代码示例 let params = { filePath: 'filename.txt' } #接口调用示例 let p 阅读全文
posted @ 2024-12-21 14:38 AtlasLapetos 阅读(15) 评论(0) 推荐(0)
appendFile 文件追加内容
摘要:appendFile ^6.8 文件追加内容 #请求参数 Prop Type Value Comment filePath String - 需要追加的文件 data String - 需要加密的数据 #参数代码示例 let params = { filePath: 'filename.txt', 阅读全文
posted @ 2024-12-21 14:38 AtlasLapetos 阅读(6) 评论(0) 推荐(0)
saveFile 保存文件到本地
摘要:saveFile ^6.8 保存文件到本地 #请求参数 Prop Type Value Comment data String - 需要保存的内容 filePath String - 需要保存的结果文件 #参数代码示例 let params = { data: '我是一段需要保存的文本内容', fi 阅读全文
posted @ 2024-12-21 14:38 AtlasLapetos 阅读(18) 评论(0) 推荐(0)
readFile 读取文件内容
摘要:readFile ^6.8 读取文件内容 #请求参数 Prop Type Value Comment filePath String - 需要读取的的文件 #参数代码示例 let params = { filePath: 'filename.txt' } #接口调用示例 let params = { 阅读全文
posted @ 2024-12-21 14:38 AtlasLapetos 阅读(12) 评论(0) 推荐(0)
makeDir 新建文件夹
摘要:makeDir ^6.8 新建文件夹 #请求参数 Prop Type Value Comment filePath String - 需要创建的文件夹 #参数代码示例 let params = { filePath: 'dir/subdir' } #接口调用示例 let params = {file 阅读全文
posted @ 2024-12-21 14:38 AtlasLapetos 阅读(11) 评论(0) 推荐(0)
copyFile 复制文件
摘要:copyFile ^6.8 复制文件 #请求参数 Prop Type Value Comment srcPath String - 需要复制的文件 destPath String - 复制的新文件路径 #参数代码示例 let params = { srcPath: 'filename.txt', d 阅读全文
posted @ 2024-12-21 14:38 AtlasLapetos 阅读(10) 评论(0) 推荐(0)
unzip 解压文件
摘要:unzip ^6.8 解压文件 #请求参数 Prop Type Value Comment zipFilePath String - 需要解压的文件 targetPath String - 解压的结果文件 #参数代码示例 let params = { zipFilePath: 'zipfilenam 阅读全文
posted @ 2024-12-21 14:38 AtlasLapetos 阅读(10) 评论(0) 推荐(0)
zip 压缩文件
摘要:zip ^6.8 压缩文件 #请求参数 Prop Type Value Comment srcFilePath Array - 需要压缩的文件 zipFilePath String - 压缩的结果文件 #参数代码示例 let params = { srcFilePath: ['filename.tx 阅读全文
posted @ 2024-12-21 14:37 AtlasLapetos 阅读(7) 评论(0) 推荐(0)
stopLocationUpdate 取消实时地理位置监听
摘要:stopLocationUpdate ^6.8 取消实时地理位置监听 #接口调用示例 this.$bridge .stopLocationUpdate() .then(res => { this.$alert(res) }) .catch(err => { this.$toast(err) }) # 阅读全文
posted @ 2024-12-21 14:37 AtlasLapetos 阅读(12) 评论(0) 推荐(0)

上一页 1 2 3 4 5 6 7 8 9 10 ··· 13 下一页