微信小程序登录修改
This commit is contained in:
@@ -94,4 +94,30 @@ public class LoginParam implements Serializable {
|
||||
*/
|
||||
private String token;
|
||||
|
||||
// ========== 微信小程序登录相关字段 ==========
|
||||
|
||||
/**
|
||||
* 微信登录code(wx.login返回,用于换取openid和session_key)
|
||||
* @since 2026-01-09
|
||||
*/
|
||||
private String code;
|
||||
|
||||
/**
|
||||
* 手机号授权code(getPhoneNumber返回,新版API推荐使用)
|
||||
* @since 2026-01-09
|
||||
*/
|
||||
private String phoneCode;
|
||||
|
||||
/**
|
||||
* 加密数据(getPhoneNumber返回,旧版API用于解密手机号)
|
||||
* @since 2026-01-09
|
||||
*/
|
||||
private String encryptedData;
|
||||
|
||||
/**
|
||||
* 解密向量(getPhoneNumber返回,旧版API用于解密手机号)
|
||||
* @since 2026-01-09
|
||||
*/
|
||||
private String iv;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user