Browse Source

template message

ls 4 years ago
parent
commit
e051df6621
1 changed files with 14 additions and 11 deletions
  1. 14 11
      wechat/structure.go

+ 14 - 11
wechat/structure.go

@@ -299,17 +299,20 @@ type ValueColor struct {
 
 // TemplateData data
 type TemplateData struct {
-	First    *ValueColor `json:"first"`
-	Keyword1 *ValueColor `json:"keyword1,omitempty"`
-	Keyword2 *ValueColor `json:"keyword2,omitempty"`
-	Keyword3 *ValueColor `json:"keyword3,omitempty"`
-	Keyword4 *ValueColor `json:"keyword4,omitempty"`
-	Keyword5 *ValueColor `json:"keyword5,omitempty"`
-	Keyword6 *ValueColor `json:"keyword6,omitempty"`
-	Keyword7 *ValueColor `json:"keyword7,omitempty"`
-	Keyword8 *ValueColor `json:"keyword8,omitempty"`
-	Keyword9 *ValueColor `json:"keyword9,omitempty"`
-	Remark   *ValueColor `json:"remark,omitempty"`
+	First     *ValueColor `json:"first"`
+	Keyword1  *ValueColor `json:"keyword1,omitempty"`
+	Keyword2  *ValueColor `json:"keyword2,omitempty"`
+	Keyword3  *ValueColor `json:"keyword3,omitempty"`
+	Keyword4  *ValueColor `json:"keyword4,omitempty"`
+	Keyword5  *ValueColor `json:"keyword5,omitempty"`
+	Keyword6  *ValueColor `json:"keyword6,omitempty"`
+	Keyword7  *ValueColor `json:"keyword7,omitempty"`
+	Keyword8  *ValueColor `json:"keyword8,omitempty"`
+	Keyword9  *ValueColor `json:"keyword9,omitempty"`
+	Keyword10 *ValueColor `json:"keyword10,omitempty"`
+	Name      *ValueColor `json:"name,omitempty"`
+	ExpDate   *ValueColor `json:"expDate,omitempty"`
+	Remark    *ValueColor `json:"remark,omitempty"`
 }
 
 // TemplateMessage template message