All Downloads are FREE. Search and download functionalities are using the official Maven repository.

me.chanjar.weixin.cp.bean.WxCpMaJsCode2SessionResult Maven / Gradle / Ivy

There is a newer version: 4.6.7.B
Show newest version
package me.chanjar.weixin.cp.bean;

import com.google.gson.annotations.SerializedName;
import lombok.Data;
import me.chanjar.weixin.cp.util.json.WxCpGsonBuilder;

import java.io.Serializable;

/**
 * 
 * 小程序登录凭证校验
 * 文档地址:https://work.weixin.qq.com/api/doc#90000/90136/90289/wx.qy.login
 * 
* * @author Binary Wang */ @Data public class WxCpMaJsCode2SessionResult implements Serializable { private static final long serialVersionUID = 6229609023682814765L; @SerializedName("session_key") private String sessionKey; @SerializedName("userid") private String userId; @SerializedName("corpid") private String corpId; /** * From json wx cp ma js code 2 session result. * * @param json the json * @return the wx cp ma js code 2 session result */ public static WxCpMaJsCode2SessionResult fromJson(String json) { return WxCpGsonBuilder.create().fromJson(json, WxCpMaJsCode2SessionResult.class); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy