using MyCode.Project.Services;
using System.Web.Http;
namespace MyCode.Project.WebApi.Areas.Admin.Controllers
{
///
/// 商品分类业绩统计,仅供系统内部调用
///
public class StaffDataEnterpriseWechatController : BaseAdminController
{
private IStaffDataEnterpriseWechatService _staffDataEnterpriseWechatService;
///
///
///
///
public StaffDataEnterpriseWechatController(IStaffDataEnterpriseWechatService staffDataEnterpriseWechatService)
{
_staffDataEnterpriseWechatService = staffDataEnterpriseWechatService;
}
#region TaskGetPasswordData(定时获取用户登录参数)
///
/// 定时获取用户登录参数
///
///
[HttpGet]
[AllowAnonymous]
public void TaskGetPasswordData()
{
_staffDataEnterpriseWechatService.TaskGetPasswordData();
}
#endregion
#region TaskGetUserByAccount(调度定时登录账号信息)
///
/// 调度定时登录账号信息
///
///
[HttpGet]
[AllowAnonymous]
public void TaskGetUserByAccount()
{
_staffDataEnterpriseWechatService.TaskGetUserByAccount();
}
#endregion
}
}