package com.buy507.mall.service;

import com.buy507.mall.dto.OssCallbackResult;
import com.buy507.mall.dto.OssPolicyResult;

import javax.servlet.http.HttpServletRequest;

/**
 * oss上传管理Service
 */
public interface OssService {
    /**
     * oss上传策略生成
     */
    OssPolicyResult policy();
    /**
     * oss上传成功回调
     */
    @Deprecated
    OssCallbackResult callback(HttpServletRequest request);
}
