package com.huiju.estateagents.property.service;

import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.io.InputStream;

/**
 * @author admin
 * @Title: ImageServiceI
 * @Description: TODO
 * @date 2018/11/5
 */
public interface ImageServiceI {
    String getImageUrl(MultipartFile uploadFile) throws IOException;

    /**
     * 二进制方式 上传 阿里云
     * @param uploadFile
     * @return
     * @throws IOException
     */
    String getImageUrl(InputStream uploadFile) throws IOException;
}
