mirror of https://gitee.com/CoreUnion/CoreShop.git
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.
39 lines
1.2 KiB
C#
39 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 EvaluateOrderJob
|
|
{
|
|
private readonly ICoreCmsOrderServices _orderServices;
|
|
|
|
|
|
public EvaluateOrderJob(ICoreCmsOrderServices orderServices)
|
|
{
|
|
_orderServices = orderServices;
|
|
}
|
|
|
|
public async System.Threading.Tasks.Task Execute()
|
|
{
|
|
await _orderServices.AutoEvaluateOrder();
|
|
}
|
|
}
|
|
}
|