步步为盈
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.

42 lines
1.2 KiB

3 years ago
using BBWY.Server.Business;
using BBWY.Server.Model.Dto;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
3 years ago
using System.Collections.Generic;
3 years ago
namespace BBWY.Server.API.Controllers
{
public class VenderController : BaseApiController
{
private VenderBusiness venderBusiness;
public VenderController(IHttpContextAccessor httpContextAccessor, VenderBusiness venderBusiness) : base(httpContextAccessor)
{
this.venderBusiness = venderBusiness;
}
/// <summary>
/// 获取商家信息
/// </summary>
/// <param name="platformRequest"></param>
/// <returns></returns>
[HttpPost]
3 years ago
public VenderResponse GetVenderInfo([FromBody] PlatformRequest platformRequest)
3 years ago
{
return venderBusiness.GetVenderInfo(platformRequest);
}
3 years ago
/// <summary>
/// 获取物流公司
/// </summary>
/// <param name="platformRequest"></param>
/// <returns></returns>
[HttpPost]
public IList<LogisticsResponse> GetLogisticsList(PlatformRequest platformRequest)
{
return venderBusiness.GetLogisticsList(platformRequest);
}
3 years ago
}
}