You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
889 B
29 lines
889 B
2 years ago
|
using BBWY.Server.Business.QiKu;
|
||
|
using BBWY.Server.Model.Dto;
|
||
|
using Microsoft.AspNetCore.Http;
|
||
|
using Microsoft.AspNetCore.Mvc;
|
||
|
|
||
|
namespace BBWY.Server.API.Controllers
|
||
|
{
|
||
|
|
||
|
public class QiKuController : BaseApiController
|
||
|
{
|
||
|
private QiKuBusiness qikuBusiness;
|
||
|
public QiKuController(IHttpContextAccessor httpContextAccessor, QiKuBusiness qikuBusiness) : base(httpContextAccessor)
|
||
|
{
|
||
|
this.qikuBusiness = qikuBusiness;
|
||
|
}
|
||
|
|
||
|
/// <summary>
|
||
|
/// 获取供应商和仓库信息
|
||
|
/// </summary>
|
||
|
/// <param name="request"></param>
|
||
|
/// <returns></returns>
|
||
|
[HttpPost]
|
||
|
public GetJDSupplierNameAndStoreNameResponse GetJDSupplierNameAndStoreName([FromBody] GetJDSupplierNameAndStoreNameRequest request)
|
||
|
{
|
||
|
return qikuBusiness.GetJDSupplierNameAndStoreName(request);
|
||
|
}
|
||
|
}
|
||
|
}
|