Browse Source

FormURLState

ls 5 năm trước cách đây
mục cha
commit
27173aa00c
1 tập tin đã thay đổi với 6 bổ sung0 xóa
  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"`