修正消息通道输入框输入顺序

This commit is contained in:
xpnas 2021-03-25 21:45:18 +08:00
parent ffa463c607
commit a5c3b8c7dc
4 changed files with 9 additions and 10 deletions

View File

@ -15,22 +15,22 @@ namespace Inotify.Sends.Products
[InputTypeAttribte(0, "FromName", "发件人", "管理员")] [InputTypeAttribte(0, "FromName", "发件人", "管理员")]
public string FromName { get; set; } public string FromName { get; set; }
[InputTypeAttribte(0, "From", "发件地址", "abc@qq.com")] [InputTypeAttribte(1, "From", "发件地址", "abc@qq.com")]
public string From { get; set; } public string From { get; set; }
[InputTypeAttribte(1, "Password", "发件密码", "123456")] [InputTypeAttribte(2, "Password", "发件密码", "123456")]
public string Password { get; set; } public string Password { get; set; }
[InputTypeAttribte(2, "Host", "SMTP地址", "smtp.qq.com")] [InputTypeAttribte(3, "Host", "SMTP地址", "smtp.qq.com")]
public string Host { get; set; } public string Host { get; set; }
[InputTypeAttribte(2, "Port", "SMTP端口", "587")] [InputTypeAttribte(4, "Port", "SMTP端口", "587")]
public int Port { get; set; } public int Port { get; set; }
[InputTypeAttribte(3, "EnableSSL", "SSL", "true|false")] [InputTypeAttribte(5, "EnableSSL", "SSL", "true|false")]
public bool EnableSSL { get; set; } public bool EnableSSL { get; set; }
[InputTypeAttribte(4, "To", "收件箱", "abcd@qq.com")] [InputTypeAttribte(6, "To", "收件箱", "abcd@qq.com")]
public string To { get; set; } public string To { get; set; }
} }

View File

@ -13,10 +13,10 @@ namespace Inotify.Sends.Products
public class TelegramBotAuth public class TelegramBotAuth
{ {
[InputTypeAttribte(1, "BotToken", "BotToken", "ID:Token")] [InputTypeAttribte(0, "BotToken", "BotToken", "ID:Token")]
public string BotToken { get; set; } public string BotToken { get; set; }
[InputTypeAttribte(2, "Chat_id", "ChatId", "ChatId")] [InputTypeAttribte(1, "Chat_id", "ChatId", "ChatId")]
public string Chat_id { get; set; } public string Chat_id { get; set; }
} }

View File

@ -22,7 +22,7 @@ namespace Inotify.Sends.Products
[InputTypeAttribte(2, "AgentID", "应用ID", "AgentID")] [InputTypeAttribte(2, "AgentID", "应用ID", "AgentID")]
public string AgentID { get; set; } public string AgentID { get; set; }
[InputTypeAttribte(2, "OpengId", "OpengId", "@all")] [InputTypeAttribte(3, "OpengId", "OpengId", "@all")]
public string OpengId { get; set; } public string OpengId { get; set; }
} }

View File

@ -101,7 +101,6 @@ namespace Inotify.Sends
{ {
foreach (var thread in m_sendThreads) foreach (var thread in m_sendThreads)
{ {
// m_messages.Add(new StopMessage());
thread.Interrupt(); thread.Interrupt();
} }
m_sendThreads.Clear(); m_sendThreads.Clear();