diff --git a/alipay/token/model.go b/alipay/token/model.go index 985f664..5d0a57a 100644 --- a/alipay/token/model.go +++ b/alipay/token/model.go @@ -22,13 +22,14 @@ type Param struct { GrantType string `json:"grant_type"` Code string `json:"code"` } + type AlipayTokenSuccessResponse struct { UserId string `json:"user_id"` OpenId string `json:"open_id"` AccessToken string `json:"access_token"` ExpiresIn int `json:"expires_in"` RefreshToken string `json:"refresh_token"` - ReExpiresIn string `json:"re_expires_in"` + ReExpiresIn int `json:"re_expires_in"` AuthStart string `json:"auth_start"` }