using Aliyun.OSS;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web;
namespace XYY.Core.Standard.AliYun
{
public interface IAliYunPostFileSerivce
{
string PostHttpFile(System.IO.Stream file, string name);
string GetNowPathName(string key);
///
/// 上传文件到阿里云
///
///
///
///
///
///
///
///
PutObjectResult PostFile(string endPoint, string keyId, string keySecret, string bucketName, string fileName, string fileUpdate);
///
/// 获取已上传文件的CDN地址
///
///
///
string GetCDN(string fileName, string endPoint);
///
/// 获取已上传文件的CDN地址
///
///
///
string GetPublicCDN(string fileName);
///
/// 获取已上传文件的CDN地址
///
///
///
string GetCDN(string fileName);
///
/// 上传文件到阿里云
///
///
///
///
///
///
///
///
string PostFile(string fileName, string fileToUpdate);
///
/// 上传文件到阿里云
///
///
///
///
///
///
///
///
string PostMd5File(string fileToUpdate, string Key);
}
}