public class MediaApi extends Object
| Modifier and Type | Field and Description |
|---|---|
private InternalMediaApi |
internalMediaApi |
| Constructor and Description |
|---|
MediaApi(retrofit2.Retrofit retrofit)
Instantiates a new Media api.
|
| Modifier and Type | Method and Description |
|---|---|
MediaUrl |
uploadImg(cn.felord.domain.MultipartResource resource)
上传图片接口
|
private final InternalMediaApi internalMediaApi
MediaApi(retrofit2.Retrofit retrofit)
retrofit - the retrofitpublic MediaUrl uploadImg(cn.felord.domain.MultipartResource resource) throws WeMpException
resource - the resourceWeMpException - the we mp exceptionCopyright © 2023. All rights reserved.