소스 검색

FormURLState

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"`