ls %!s(int64=5) %!d(string=hai) anos
pai
achega
27173aa00c
Modificáronse 1 ficheiros con 6 adicións e 0 borrados
  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"`