feat: add tg bot send way

This commit is contained in:
engigu
2026-01-14 20:51:58 +08:00
parent 1d13bc69ab
commit 53a60b54b2
10 changed files with 321 additions and 2 deletions
+4
View File
@@ -51,6 +51,10 @@ type InsAliyunSMSConfig struct {
TemplateCode string `json:"template_code" validate:"required" label:"短信模板CODE"`
}
// InsTelegramConfig 实例里面的Telegram config
type InsTelegramConfig struct {
}
// ManyAddTaskIns 批量添加实例
func ManyAddTaskIns(taskIns []SendTasksIns) error {
tx := db.Begin()