Browse Source

wechat mini uniform send

ls 5 years ago
parent
commit
a70d870864
2 changed files with 3 additions and 0 deletions
  1. 2 0
      json.go
  2. 1 0
      wechat/structure.go

+ 2 - 0
json.go

@@ -0,0 +1,2 @@
+package myth
+

+ 1 - 0
wechat/structure.go

@@ -255,6 +255,7 @@ type mpTemplateMessage struct {
 	TemplateID string          `json:"template_id"`
 	URL        string          `json:"url"`
 	Mini       MiniProgramPage `json:"miniprogram"`
+	Data       TemplateData    `json:"data"`
 }
 
 // MiniUniformMessage mini uniform send