You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
848 B
C#

using DS.Module.Core;
using DS.WMS.Core.Op.Dtos;
using DS.WMS.Core.Sys.Dtos;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DS.WMS.Core.Sys.Interface
{
public interface ISysFileService
{
/// <summary>
/// 添加系统附件
/// </summary>
/// <param name="file"></param>
/// <param name="req"></param>
/// <returns></returns>
public Task<DataResult<string>> AddFile(IFormFile file, [FromForm] SysFileReq req);
/// <summary>
/// 获取系统附件
/// </summary>
/// <param name="id"></param>
/// <returns></returns>
public DataResult<List<SysFileRes>> GetSysFileList(string id);
}
}