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