|
|
@@ -277,8 +277,8 @@ type SystemOauthTokenResponse struct {
|
|
|
type oauthTokenInfo struct {
|
|
|
AccessToken string `json:"access_token,omitempty"`
|
|
|
AlipayUserId string `json:"alipay_user_id,omitempty"`
|
|
|
- ExpiresIn int `json:"expires_in,omitempty"`
|
|
|
- ReExpiresIn int `json:"re_expires_in,omitempty"`
|
|
|
+ ExpiresIn string `json:"expires_in,omitempty"`
|
|
|
+ ReExpiresIn string `json:"re_expires_in,omitempty"`
|
|
|
RefreshToken string `json:"refresh_token,omitempty"`
|
|
|
UserId string `json:"user_id,omitempty"`
|
|
|
}
|
|
|
@@ -561,14 +561,14 @@ type authTokenAppResponse struct {
|
|
|
AuthAppId string `json:"auth_app_id,omitempty"`
|
|
|
AppAuthToken string `json:"app_auth_token,omitempty"`
|
|
|
AppRefreshToken string `json:"app_refresh_token,omitempty"`
|
|
|
- ExpiresIn int `json:"expires_in,omitempty"`
|
|
|
- ReExpiresIn int `json:"re_expires_in,omitempty"`
|
|
|
+ ExpiresIn string `json:"expires_in,omitempty"`
|
|
|
+ ReExpiresIn string `json:"re_expires_in,omitempty"`
|
|
|
Tokens []*struct {
|
|
|
AppAuthToken string `json:"app_auth_token,omitempty"`
|
|
|
AppRefreshToken string `json:"app_refresh_token,omitempty"`
|
|
|
AuthAppId string `json:"auth_app_id,omitempty"`
|
|
|
- ExpiresIn int `json:"expires_in,omitempty"`
|
|
|
- ReExpiresIn int `json:"re_expires_in,omitempty"`
|
|
|
+ ExpiresIn string `json:"expires_in,omitempty"`
|
|
|
+ ReExpiresIn string `json:"re_expires_in,omitempty"`
|
|
|
UserId string `json:"user_id,omitempty"`
|
|
|
} `json:"tokens,omitempty"`
|
|
|
}
|