This commit is contained in:
李子铭 2024-10-23 16:51:06 +08:00
parent aa83189b01
commit 7cc22209f5
1 changed files with 2 additions and 1 deletions

View File

@ -22,13 +22,14 @@ type Param struct {
GrantType string `json:"grant_type"` GrantType string `json:"grant_type"`
Code string `json:"code"` Code string `json:"code"`
} }
type AlipayTokenSuccessResponse struct { type AlipayTokenSuccessResponse struct {
UserId string `json:"user_id"` UserId string `json:"user_id"`
OpenId string `json:"open_id"` OpenId string `json:"open_id"`
AccessToken string `json:"access_token"` AccessToken string `json:"access_token"`
ExpiresIn int `json:"expires_in"` ExpiresIn int `json:"expires_in"`
RefreshToken string `json:"refresh_token"` RefreshToken string `json:"refresh_token"`
ReExpiresIn string `json:"re_expires_in"` ReExpiresIn int `json:"re_expires_in"`
AuthStart string `json:"auth_start"` AuthStart string `json:"auth_start"`
} }