ls 5 роки тому
батько
коміт
27173aa00c
1 змінених файлів з 6 додано та 0 видалено
  1. 6 0
      wechat/structure.go

+ 6 - 0
wechat/structure.go

@@ -27,6 +27,12 @@ type FormCode struct {
 	Code string `form:"code"`
 }
 
+// FormURLState redirect url and state
+type FormURLState struct {
+	RedirectURL string `form:"url" json:"url" xml:"url"`
+	State       string `form:"state" json:"state" xml:"state"`
+}
+
 // ResponseMsg response
 type ResponseMsg struct {
 	ErrCode int    `json:"errcode"`