using DS.Module.Core; using DS.WMS.Core.Code.Import; using DS.WMS.Core.Code.Interface; using DS.WMS.Core.Code.Method; using DS.WMS.Core.Sys.Dtos; using DS.WMS.Core.Sys.Interface; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; namespace DS.WMS.MainApi.Controllers { /// /// 数据导入 模块 /// public class DataImportController : ApiController { private readonly IDataImportService _invokeService; /// /// 构造函数 /// /// public DataImportController(IDataImportService invokeService) { _invokeService = invokeService; } /// /// 导入昭阳信息 /// /// /// [HttpPost] [Route("ImportZYData")] public async Task> ImportZYData(DataImportZY req) { var res = await _invokeService.ImportZYData(req); return res; } } }