using DS.Module.Core;
using DS.WMS.Core.WxModule.Dtos;
using DS.WMS.Core.WxModule.Interface;
using Microsoft.AspNetCore.Mvc;
namespace DS.WMS.WebApi.Controllers;
///
/// 微信公众号业务模块
///
public class WxQueryController : ApiController
{
private readonly IWxQueryService _invokeService;
///
/// 构造函数
///
///
public WxQueryController(IWxQueryService invokeService)
{
_invokeService = invokeService;
}
///
/// 列表
///
///
///
[HttpPost]
[Route("GetStockList")]
public DataResult GetStockList([FromBody] StockQueryModel request)
{
var res = _invokeService.GetStockList(request);
return res;
}
}