You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
866 B
C#

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;
/// <summary>
/// 微信公众号业务模块
/// </summary>
public class WxQueryController : ApiController
{
private readonly IWxQueryService _invokeService;
/// <summary>
/// 构造函数
/// </summary>
/// <param name="invokeService"></param>
public WxQueryController(IWxQueryService invokeService)
{
_invokeService = invokeService;
}
/// <summary>
/// 列表
/// </summary>
/// <param name="request"></param>
/// <returns></returns>
[HttpPost]
[Route("GetStockList")]
public DataResult GetStockList([FromBody] StockQueryModel request)
{
var res = _invokeService.GetStockList(request);
return res;
}
}