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; using static Api.Framework.ApiClient; using static CircleFriendsTools.Enums; namespace CircleFriendsTools { /// /// 微信内容模板 /// public class ContentModel { /// /// 模板名称 /// public string ModelName { get; set; } /// /// 内容 /// public string Content { get; set; } } [Config(Name = "插件-朋友圈工具-配置")] public class Config { #region 转发功能 /// /// 朋友圈监听账号 /// public string MonitorCrowd { get; set; } /// /// 转发发送机器人集合 /// public List transpond_send_usernames { get; set; } /// /// 转发类型 /// public TransmitStyleType TransmitStyle { get; set; } /// /// 朋友圈地址内容 /// public string LocationContent { get; set; } /// /// 朋友圈poi采集用户账号 /// public string GatherPoiCrowd { get; set; } /// /// 自定义web接口 /// public string CustomWebApi { get; set; } /// /// 监听触发时长 分钟 /// public int MonitorIntervalTime { get; set; } ///// ///// 自定义定时任务采集接口 ///// //public string CustomTimedTaskAcquisitionApi { get; set; } ///// ///// 监听触发时长 分钟 ///// //public int CustomTimedTaskAcquisitionMonitorIntervalTime { get; set; } ///// ///// 自定义定时任务采集发送机器人账号 ///// //public List CustomTimedTaskAcquisitionSendRobotNames { get; set; } /// /// 自动转连 /// public bool AutoTurn { get; set; } /// /// 执着转连(转发朋友圈内容以及评语,用户淘口令转连失败,该值为True时,依然追加评论内容) /// public bool Turn_Obstinate { get; set; } /// /// 转链自定义标题 /// public string TurnTitle { get; set; } /// /// 二维码模板 /// public QrImageType qrImage { get; set; } /// /// 监听所发送的朋友圈消息创建时间戳(记录) /// public string MonitorInfoHistoryTime { get; set; } /// /// 自定义web接口.返回文本的MD5(用于记录是个上次发送的内容一致) /// public string CustomWebApiTextMD5 { get; set; } /// /// 接口访问时间 分 /// public int CustomWebApiIntervalTime { get; set; } /// /// 网络图片的链接 /// public string NetworkUrl { get; set; } /// /// 自动点赞 /// public bool AutoPraise { get; set; } /// /// 自动点赞时间间隔 分钟 /// public int AutoPraiseInterval { get; set; } #endregion #region 一键发送 /// /// 推广位pid /// public string adzone_pid { get; set; } /// /// 推广位pid名称 /// public string adzone_pid_cps_name { get; set; } /// /// 推广位名称 /// public string adzone_name { get; set; } /// /// 发送人员集合 /// public List send_usernames { get; set; } /// /// 手动发送人员集合 /// public List manually_send_usernames { get; set; } /// /// 发送模板 /// public List send_templates { get; set; } /// /// 记录当天发送过的商品 /// public Dictionary> recordSendGoods { get; set; } /// /// 转发朋友圈自定义追加评语内容 /// public string AppendComment { get; set; } #endregion public Config() { this.GatherPoiCrowd = string.Empty; this.MonitorCrowd = string.Empty; this.qrImage = QrImageType.模板B; #region 转发功能 this.TransmitStyle = TransmitStyleType.原文及评论; //this.transpond_send_usernames = new List(); this.LocationContent = string.Empty; this.AutoPraise = true; this.AutoTurn = false; this.Turn_Obstinate = false; //this.TurnTitle = string.Empty; this.AutoPraiseInterval = 30; this.MonitorIntervalTime = 20; //this.CustomTimedTaskAcquisitionMonitorIntervalTime = 5; this.CustomWebApiIntervalTime = 10; //this.CustomTimedTaskAcquisitionSendRobotNames = new List(); this.AppendComment = string.Empty; #endregion #region 一键发送 this.adzone_pid = string.Empty; this.adzone_pid_cps_name = string.Empty; this.adzone_name = string.Empty; this.send_usernames = new List(); this.manually_send_usernames = new List(); this.send_templates = new List() { new ContentModel() { ModelName = "默认模板", Content = @"╭┈┈┈┄┈┈┈┈┈╮ 爆款榜单 ╰┈┈┈┈┈┈┈┈┈╯ 识别二维码复制口令下单,手慢无[茶] [茶] 喜爱不在等待,全网最优惠价格! 好产品多多看上的速度下手!" } }; #endregion recordSendGoods = new Dictionary>(); } } }