|
|
@@ -8,8 +8,11 @@ import lombok.EqualsAndHashCode; |
|
|
|
import java.io.Serializable; |
|
|
|
|
|
|
|
/** |
|
|
|
* {"session_key":"nzoqhc3OnwHzeTxJs+inbQ==","expires_in":2592000,"openid":"oVBkZ0aYgDMDIywRdgPW8-joxXc4"} |
|
|
|
* |
|
|
|
* <pre> |
|
|
|
* code换取session_key接口的响应 |
|
|
|
* 文档地址:https://mp.weixin.qq.com/debug/wxadoc/dev/api/api-login.html#wxloginobject |
|
|
|
* 微信返回报文:{"session_key":"nzoqhc3OnwHzeTxJs+inbQ==","openid":"oVBkZ0aYgDMDIywRdgPW8-joxXc4"} |
|
|
|
* </pre> |
|
|
|
* @author <a href="https://github.com/binarywang">Binary Wang</a> |
|
|
|
*/ |
|
|
|
@Data |
|
|
@@ -20,9 +23,6 @@ public class WxMaJscode2SessionResult implements Serializable { |
|
|
|
@SerializedName("session_key") |
|
|
|
private String sessionKey; |
|
|
|
|
|
|
|
@SerializedName("expires_in") |
|
|
|
private Integer expiresin; |
|
|
|
|
|
|
|
@SerializedName("openid") |
|
|
|
private String openid; |
|
|
|
|
|
|
|