using MyCode.Project.Domain.Message.Request.Million; using MyCode.Project.Domain.Message.Response.MillionPolicy; using MyCode.Project.Services; using MyCode.Project.Services.Implementation.MillionPolicy; using System; using System.Collections.Generic; using System.Web.Http; namespace MyCode.Project.WebApi.Areas.Wechat.Controllers { /// ///在线录入数据 相关 /// public class OnlineDataEntryController : BaseWechatController { private IOnlineDataEntryService _onlineDataEntryService ; /// /// /// public OnlineDataEntryController(IOnlineDataEntryService onlineDataEntryService) { _onlineDataEntryService = onlineDataEntryService; } #region Save(保存录入数据) /// /// 保存录入数据 /// /// [HttpPost] public void Save(DataEntryAct act) { _onlineDataEntryService.Save(act,this.CurrentLogin); } #endregion #region GetDetail(根据日期+店铺ID获取详情) /// /// 根据日期+店铺ID获取详情 /// /// /// [HttpPost] public DataEntryAct GetDetail(ShopOnlineDataEntryReq req) { return _onlineDataEntryService.GetDetail(req); } #endregion } }