UploadFile 对象
type
'file' -file
。filePath
string - 要上传的文件路径。offset
Integer (可选) - 默认为0
。length
Integer (可选) - 从offset
读取的字节数。默认为0
。modificationTime
Double (可选) - 上次修改时间,以 UNIX 纪元以来的秒数表示。默认为0
。
@electron
包将需要 Node.js 22 LTS。 在我们的博客上阅读更多信息。type
'file' - file
。filePath
string - 要上传的文件路径。offset
Integer (可选) - 默认为 0
。length
Integer (可选) - 从 offset
读取的字节数。默认为 0
。modificationTime
Double (可选) - 上次修改时间,以 UNIX 纪元以来的秒数表示。默认为 0
。