@@ -96,7 +96,6 @@ func postJSON(url string, args interface{}) (msg myth.HTTPMessage, err error) {
return
}
msg, err = myth.Post(url, "", "", headers, bytes.NewReader(data))
-
@@ -73,7 +73,7 @@ type FormOpenID struct {
// FormCode code
type FormCode struct {
- Code string `form:"code"`
+ Code string `form:"code" json:"code"`
// FormSignPackage js sign package