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.
CoreShop/CoreCms.Net.Task/AutoSignOrderJob.cs

40 lines
1.2 KiB
C#

/***********************************************************************
* Project: CoreCms.Net *
* Web: https://CoreCms.Net *
* ProjectName: 核心内容管理系统 *
* Author: 大灰灰 *
* Email: JianWeie@163.com *
* CreateTime: 2020-08-25 1:25:29
* Description: 暂无
***********************************************************************/
using System;
using CoreCms.Net.IServices;
using CoreCms.Net.Loging;
using CoreCms.Net.Model.Entities;
using Newtonsoft.Json;
namespace CoreCms.Net.Task
{
/// <summary>
/// 订单自动签收任务
/// </summary>
public class AutoSignOrderJob
{
private readonly ICoreCmsOrderServices _orderServices;
public AutoSignOrderJob(ICoreCmsOrderServices orderServices)
{
_orderServices = orderServices;
}
public async System.Threading.Tasks.Task Execute()
{
await _orderServices.AutoSignOrder();
}
}
}