From 7cc22209f57ec6c80db8fa2ff6fbddacbd9466c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E5=AD=90=E9=93=AD?= Date: Wed, 23 Oct 2024 16:51:06 +0800 Subject: [PATCH] int --- alipay/token/model.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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"` }