using MyCode.Project.Domain.Message.Act.ShopData; using MyCode.Project.Domain.Message.Request.ShopData; using MyCode.Project.Domain.Message.Response.ShopData; using MyCode.Project.Services.IServices; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Http; namespace MyCode.Project.WebApi.Areas.Wechat.Controllers { /// /// 店铺数据录入相关接口 /// public class ShopDataController : BaseWechatController { #region 初始化 private readonly IShopDataService _shopDataService; public ShopDataController(IShopDataService shopDataService) { _shopDataService = shopDataService; } #endregion #region SaveShopDataIndicators 保存店铺数据录入 /// /// 保存店铺数据录入 /// /// [HttpPost] public void SaveShopDataIndicators(SaveShopDataIndicatorsAct act) { _shopDataService.SaveShopDataIndicators(act, this.CurrentLogin); } #endregion #region GetShopDataIndicatorsDetails 获取店铺数据录入数据详情 /// /// 获取店铺数据录入数据详情 /// /// /// [HttpPost] public ShopDataIndicatorsDetailsResp GetShopDataIndicatorsDetails(ShopDataIndicatorsDetailsReq req) { return _shopDataService.GetShopDataIndicatorsDetails(req); } #endregion } }