|
@@ -144,6 +144,13 @@ type AliPaySystemOauthTokenResponse struct {
|
|
|
Sign string `json:"sign"`
|
|
Sign string `json:"sign"`
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+type AlipayUserInfoShareResponse struct {
|
|
|
|
|
+ AlipayUserInfoShareResponse userInfoShare `json:"alipay_user_info_share_response,omitempty"`
|
|
|
|
|
+ //ErrorResponse alipayErrorResponse `json:"error_response,omitempty"`
|
|
|
|
|
+ SignData string `json:"-"`
|
|
|
|
|
+ Sign string `json:"sign"`
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
type alipayErrorResponse struct {
|
|
type alipayErrorResponse struct {
|
|
|
Code string `json:"code,omitempty"`
|
|
Code string `json:"code,omitempty"`
|
|
|
Msg string `json:"msg,omitempty"`
|
|
Msg string `json:"msg,omitempty"`
|
|
@@ -160,6 +167,23 @@ type oauthTokenInfo struct {
|
|
|
UserId string `json:"user_id,omitempty"`
|
|
UserId string `json:"user_id,omitempty"`
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+type userInfoShare struct {
|
|
|
|
|
+ Code string `json:"code,omitempty"`
|
|
|
|
|
+ Msg string `json:"msg,omitempty"`
|
|
|
|
|
+ SubCode string `json:"sub_code,omitempty"`
|
|
|
|
|
+ SubMsg string `json:"sub_msg,omitempty"`
|
|
|
|
|
+ UserId string `json:"user_id,omitempty"`
|
|
|
|
|
+ Avatar string `json:"avatar,omitempty"`
|
|
|
|
|
+ Province string `json:"province,omitempty"`
|
|
|
|
|
+ City string `json:"city,omitempty"`
|
|
|
|
|
+ NickName string `json:"nick_name,omitempty"`
|
|
|
|
|
+ IsStudentCertified string `json:"is_student_certified,omitempty"`
|
|
|
|
|
+ UserType string `json:"user_type,omitempty"`
|
|
|
|
|
+ UserStatus string `json:"user_status,omitempty"`
|
|
|
|
|
+ IsCertified string `json:"is_certified,omitempty"`
|
|
|
|
|
+ Gender string `json:"gender,omitempty"`
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
type AliPayUserPhone struct {
|
|
type AliPayUserPhone struct {
|
|
|
Code string `json:"code,omitempty"`
|
|
Code string `json:"code,omitempty"`
|
|
|
Msg string `json:"msg,omitempty"`
|
|
Msg string `json:"msg,omitempty"`
|