## uploadFile(options) @uploadfile

<!-- UTSUNICLOUDAPIJSON.uploadFile.description -->

<!-- UTSUNICLOUDAPIJSON.uploadFile.param -->

<!-- UTSUNICLOUDAPIJSON.uploadFile.returnValue -->

<!-- UTSUNICLOUDAPIJSON.uploadFile.compatibility -->

<!-- UTSUNICLOUDAPIJSON.uploadFile.tutorial -->

<!-- UTSUNICLOUDAPIJSON.uploadFile.example -->

## chooseAndUploadFile(options) @chooseanduploadfile

<!-- UTSUNICLOUDAPIJSON.chooseAndUploadFile.description -->

<!-- UTSUNICLOUDAPIJSON.chooseAndUploadFile.param -->

<!-- UTSUNICLOUDAPIJSON.chooseAndUploadFile.returnValue -->

<!-- UTSUNICLOUDAPIJSON.chooseAndUploadFile.compatibility -->

<!-- UTSUNICLOUDAPIJSON.chooseAndUploadFile.tutorial -->

<!-- UTSUNICLOUDAPIJSON.chooseAndUploadFile.example -->

**注意**

- 由于uni-app-x暂不支持选择视频、文件，目前此接口仅能上传图片，即type参数仅能设为`image`。

## getTempFileURL(options) @gettempfileurl

<!-- UTSUNICLOUDAPIJSON.getTempFileURL.description -->

<!-- UTSUNICLOUDAPIJSON.getTempFileURL.param -->

<!-- UTSUNICLOUDAPIJSON.getTempFileURL.returnValue -->

<!-- UTSUNICLOUDAPIJSON.getTempFileURL.compatibility -->

<!-- UTSUNICLOUDAPIJSON.getTempFileURL.tutorial -->

<!-- UTSUNICLOUDAPIJSON.unicloud-file-api.example -->
