|
@@ -29,6 +29,12 @@ type MiniClient struct {
|
|
LastTokenTime int64
|
|
LastTokenTime int64
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+// ResponseMsg response
|
|
|
|
+type ResponseMsg struct {
|
|
|
|
+ ErrCode int `json:"errcode"`
|
|
|
|
+ ErrMsg string `json:"errmsg"`
|
|
|
|
+}
|
|
|
|
+
|
|
// FormSignature signature
|
|
// FormSignature signature
|
|
type FormSignature struct {
|
|
type FormSignature struct {
|
|
TimeStamp string `form:"timestamp" json:"timestamp"`
|
|
TimeStamp string `form:"timestamp" json:"timestamp"`
|
|
@@ -65,12 +71,6 @@ type FormURLState struct {
|
|
State string `form:"state" json:"state" xml:"state"`
|
|
State string `form:"state" json:"state" xml:"state"`
|
|
}
|
|
}
|
|
|
|
|
|
-// ResponseMsg response
|
|
|
|
-type ResponseMsg struct {
|
|
|
|
- ErrCode int `json:"errcode"`
|
|
|
|
- ErrMsg string `json:"errmsg"`
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
/*
|
|
/*
|
|
// Response response
|
|
// Response response
|
|
type Response struct {
|
|
type Response struct {
|
|
@@ -362,6 +362,12 @@ type ValueColor struct {
|
|
Color string `json:"color,omitempty"`
|
|
Color string `json:"color,omitempty"`
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+// TemplateResponse 模版消息返回
|
|
|
|
+type TemplateResponse struct {
|
|
|
|
+ ResponseMsg
|
|
|
|
+ MessageID int64 `json:"msgid"`
|
|
|
|
+}
|
|
|
|
+
|
|
// TemplateData data
|
|
// TemplateData data
|
|
type TemplateData struct {
|
|
type TemplateData struct {
|
|
First *ValueColor `json:"first"`
|
|
First *ValueColor `json:"first"`
|