old_flsystem/应用/PDDGroupAD/Config.cs

65 lines
2.0 KiB
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using Api.Framework.SDK;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UI.Framework.Entitys;
namespace PDDGroupAD
{
[Config(Name = "插件-拼多多群推广-配置")]
public class Config
{
#region
/// <summary>
/// 群发送间隔
/// </summary>
//[
// Category("1、发单功能"), DisplayName("01.群消息发送间隔"), DefaultValue(5),
// Description(@"每个群之间发送间隔时间。单位:秒"),
// Editor(typeof(PropertyGridRichText), typeof(System.Drawing.Design.UITypeEditor))
//]
//public int SendIntervalGroup { get; set; }
/// <summary>
/// 产品发送间隔
/// </summary>
[
Category("1、发单功能"), DisplayName("01.产品发送间隔"), DefaultValue(5),
Description(@"产品之间发送间隔时间。单位:秒"),
Editor(typeof(PropertyGridRichText), typeof(System.Drawing.Design.UITypeEditor))
]
public int SendIntervalProduct { get; set; }
/// <summary>
/// 指定在评论内追加内容
/// </summary>
[
Category("1、发单功能"), DisplayName("02.评论内追加内容"), DefaultValue(@""),
Description(@"在指定评论内追加内容"),
Editor(typeof(PropertyGridRichText), typeof(System.Drawing.Design.UITypeEditor))
]
public string AppendContent { get; set; }
/// <summary>
/// 黑名单列表
/// </summary>
[
Category("1、发单功能"), DisplayName("03.黑名单列表"),
Description(@"不转发的群ID,群号之间用 , 分隔.可不填写"),
Editor(typeof(PropertyGridRichText), typeof(System.Drawing.Design.UITypeEditor))
]
public string BlackList { get; set; }
#endregion
public Config()
{
this.SendIntervalProduct = 5;
}
}
}