diff --git a/Inotify/Sends/Products/EmailSendTemplate.cs b/Inotify/Sends/Products/EmailSendTemplate.cs index e3d47bb..150249e 100644 --- a/Inotify/Sends/Products/EmailSendTemplate.cs +++ b/Inotify/Sends/Products/EmailSendTemplate.cs @@ -15,22 +15,22 @@ namespace Inotify.Sends.Products [InputTypeAttribte(0, "FromName", "发件人", "管理员")] public string FromName { get; set; } - [InputTypeAttribte(0, "From", "发件地址", "abc@qq.com")] + [InputTypeAttribte(1, "From", "发件地址", "abc@qq.com")] public string From { get; set; } - [InputTypeAttribte(1, "Password", "发件密码", "123456")] + [InputTypeAttribte(2, "Password", "发件密码", "123456")] public string Password { get; set; } - [InputTypeAttribte(2, "Host", "SMTP地址", "smtp.qq.com")] + [InputTypeAttribte(3, "Host", "SMTP地址", "smtp.qq.com")] public string Host { get; set; } - [InputTypeAttribte(2, "Port", "SMTP端口", "587")] + [InputTypeAttribte(4, "Port", "SMTP端口", "587")] public int Port { get; set; } - [InputTypeAttribte(3, "EnableSSL", "SSL", "true|false")] + [InputTypeAttribte(5, "EnableSSL", "SSL", "true|false")] public bool EnableSSL { get; set; } - [InputTypeAttribte(4, "To", "收件箱", "abcd@qq.com")] + [InputTypeAttribte(6, "To", "收件箱", "abcd@qq.com")] public string To { get; set; } } diff --git a/Inotify/Sends/Products/TelegramBotSendTemplate.cs b/Inotify/Sends/Products/TelegramBotSendTemplate.cs index 9fc8c01..dbf7e14 100644 --- a/Inotify/Sends/Products/TelegramBotSendTemplate.cs +++ b/Inotify/Sends/Products/TelegramBotSendTemplate.cs @@ -13,10 +13,10 @@ namespace Inotify.Sends.Products public class TelegramBotAuth { - [InputTypeAttribte(1, "BotToken", "BotToken", "ID:Token")] + [InputTypeAttribte(0, "BotToken", "BotToken", "ID:Token")] public string BotToken { get; set; } - [InputTypeAttribte(2, "Chat_id", "ChatId", "ChatId")] + [InputTypeAttribte(1, "Chat_id", "ChatId", "ChatId")] public string Chat_id { get; set; } } diff --git a/Inotify/Sends/Products/WeixiSendTemplate.cs b/Inotify/Sends/Products/WeixiSendTemplate.cs index 58ec469..1d8ae79 100644 --- a/Inotify/Sends/Products/WeixiSendTemplate.cs +++ b/Inotify/Sends/Products/WeixiSendTemplate.cs @@ -22,7 +22,7 @@ namespace Inotify.Sends.Products [InputTypeAttribte(2, "AgentID", "应用ID", "AgentID")] public string AgentID { get; set; } - [InputTypeAttribte(2, "OpengId", "OpengId", "@all")] + [InputTypeAttribte(3, "OpengId", "OpengId", "@all")] public string OpengId { get; set; } } diff --git a/Inotify/Sends/SendTaskManager.cs b/Inotify/Sends/SendTaskManager.cs index 4623cb4..9609418 100644 --- a/Inotify/Sends/SendTaskManager.cs +++ b/Inotify/Sends/SendTaskManager.cs @@ -101,7 +101,6 @@ namespace Inotify.Sends { foreach (var thread in m_sendThreads) { - // m_messages.Add(new StopMessage()); thread.Interrupt(); } m_sendThreads.Clear();