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
838 B
29 lines
838 B
using BBWY.Server.Business;
|
|
using BBWY.Server.Model.Dto;
|
|
using Microsoft.AspNetCore.Http;
|
|
using Microsoft.AspNetCore.Mvc;
|
|
|
|
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]
|
|
public VenderResponse GetVenderInfo([FromBody]PlatformRequest platformRequest)
|
|
{
|
|
return venderBusiness.GetVenderInfo(platformRequest);
|
|
}
|
|
}
|
|
}
|
|
|