Browse Source

FormURLState

ls 4 years ago
parent
commit
27173aa00c
1 changed files with 6 additions and 0 deletions
  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"`