forked from CoreUnion/CoreShop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathEvaluateOrderJob.cs
38 lines (32 loc) · 1.18 KB
/
EvaluateOrderJob.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/***********************************************************************
* Project: CoreCms.Net *
* Web: https://CoreCms.Net *
* ProjectName: 核心内容管理系统 *
* Author: 大灰灰 *
* Email: [email protected] *
* 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();
}
}
}