23 lines
653 B
C#
23 lines
653 B
C#
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.IO;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using WMS.Web.Core.Internal.Results;
|
|
|
|
namespace WMS.Web.Domain.IService
|
|
{
|
|
public interface IQiniuUploadService
|
|
{
|
|
/// <summary>
|
|
/// 上传文件
|
|
/// </summary>
|
|
/// <param name="fileName"></param>
|
|
/// <param name="stream"></param>
|
|
/// <param name="isAutoDelte">是否开启自动删除 如果开启 3天后自动删除 导出的execl文件</param>
|
|
/// <returns></returns>
|
|
Task<Result<string>> Upload(string fileName, Stream stream,bool isAutoDelte= false);
|
|
}
|
|
}
|