feat: add wehchat template message push

This commit is contained in:
engigu
2024-03-05 14:42:12 +08:00
parent 32c1c8ad76
commit 4388d08109
16 changed files with 277 additions and 24 deletions
+5 -1
View File
@@ -15,7 +15,11 @@ type SendTasksIns struct {
// InsEmailConfig 实例里面的邮箱config
type InsEmailConfig struct {
ToAccount string `json:"to_account" validate:"required,email" label:"收件邮箱"`
//Title string `json:"title" validate:"required,max=150" label:"邮箱标题"`
}
// InsWeChatAccountConfig 实例里面的邮箱config
type InsWeChatAccountConfig struct {
ToAccount string `json:"to_account" validate:"required" label:"收件微信Openid"`
}
// InsEmailConfig 实例里面的邮箱config