ls 5 lat temu
rodzic
commit
46a77f1e3c
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2 2
      wechat/structure.go

+ 2 - 2
wechat/structure.go

@@ -263,6 +263,6 @@ type MpTemplateMessage struct {
 // MiniUniformMessage mini uniform send
 type MiniUniformMessage struct {
 	ToUser string                `json:"touser"`
-	WeApp  *WeappTemplateMessage `json:"weapp_template_msg"`
-	MP     *MpTemplateMessage    `json:"mp_template_msg"`
+	WeApp  *WeappTemplateMessage `json:"weapp_template_msg,omitempty"`
+	MP     *MpTemplateMessage    `json:"mp_template_msg,omitempty"`
 }