65 lines
2.0 KiB
C#
65 lines
2.0 KiB
C#
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;
|
||
}
|
||
|
||
}
|
||
}
|