All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cn.zplatform.appapi.service.MediaUploadService Maven / Gradle / Ivy

The newest version!
package cn.zplatform.appapi.service;

import cn.zplatform.appapi.app.InitConfig;
import cn.zplatform.appapi.bean.media.image.ImageUploadFormDataBody;
import cn.zplatform.appapi.bean.media.article.ArticleUploadRawBody;
import cn.zplatform.appapi.bean.media.video.VideoFormDataBody;

/**
 * 图片数据同步
 *
 * @author Lilac
 * 2020-04-14
 */
public interface MediaUploadService extends AppService {

    /**
     *  上传图片
     * @param body 请求Body数据
     * @param initConfig app数据
     * @return response
     */
    String uploadImage(ImageUploadFormDataBody body, InitConfig initConfig);


    /**
     *  上传图文
     * @param body 请求Body数据
     * @param initConfig app数据
     * @return response
     */
    String uploadArticle(ArticleUploadRawBody body, InitConfig initConfig);

    /**
     *  上传视频
     * @param body 请求Body数据
     * @param initConfig app数据
     * @return response
     */
    String uploadVideo(VideoFormDataBody body, InitConfig initConfig);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy