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.

30 lines
815 B
C#

using DS.Module.Core;
using DS.WMS.Core.Op.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.Op.Interface
{
public interface IOpFileService
{
/// <summary>
/// 添加业务附件
/// </summary>
/// <param name="file"></param>
/// <param name="req"></param>
/// <returns></returns>
public Task<DataResult<string>> AddFile(IFormFile file, [FromForm] OpFileReq req);
/// <summary>
/// 获取业务附件
/// </summary>
/// <param name="id"></param>
/// <returns></returns>
public DataResult<List<OpFileRes>> GetOpFileList(string id);
}
}