29 lines
704 B
C#
29 lines
704 B
C#
using Api.Framework.Enums;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Api.Framework.Timers
|
|
{
|
|
class UpdateTaobaoOrder
|
|
{
|
|
/// <summary>
|
|
/// 最后一次更新时间
|
|
/// </summary>
|
|
private DateTime LastTime;
|
|
public void UpdateOrder()
|
|
{
|
|
//有效账户
|
|
var Taobaos = CpsClient.Members.Where(f => f.cpstype == CpsType.阿里妈妈 && f.is_download == SwitchType.开启 && f.logintime.AddDays(30).AddHours(-5) >= DateTime.Now).ToArray();
|
|
|
|
foreach (var item in Taobaos)
|
|
{
|
|
|
|
}
|
|
|
|
}
|
|
}
|
|
}
|