类 WxServiceImpl
java.lang.Object
com.hengyi.xbaseweb.weixin.service.impl.WxServiceImpl
- 所有已实现的接口:
IWxService
微信开发相关工具
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明byte[]createQrCode(String scene, String page) 创建二维码voidcreateQrCode(String scene, String page, jakarta.servlet.http.HttpServletResponse response) 创建二维码并输出到浏览器getPhoneNumber(WxEncryptedData weixinEncryptedData) 解密手机号码cn.binarywang.wx.miniapp.bean.WxMaJscode2SessionResultgetSessionInfo(String code) 微信登录cn.binarywang.wx.miniapp.bean.WxMaUserInfoinfo(WxEncryptedData weixinEncryptedData) 微信加密
-
构造器详细资料
-
WxServiceImpl
public WxServiceImpl()
-
-
方法详细资料
-
getSessionInfo
从接口复制的说明:IWxService微信登录- 指定者:
getSessionInfo在接口中IWxService- 返回:
-
info
从接口复制的说明:IWxService微信加密- 指定者:
info在接口中IWxService- 返回:
-
getPhoneNumber
解密手机号码- 指定者:
getPhoneNumber在接口中IWxService- 参数:
weixinEncryptedData-- 返回:
-
createQrCode
从接口复制的说明:IWxService创建二维码- 指定者:
createQrCode在接口中IWxService- 参数:
scene- 携带的参数page- 页面- 返回:
- 抛出:
Exception
-
createQrCode
public void createQrCode(String scene, String page, jakarta.servlet.http.HttpServletResponse response) throws Exception 从接口复制的说明:IWxService创建二维码并输出到浏览器- 指定者:
createQrCode在接口中IWxService- 参数:
scene- 携带的参数page- 页面- 抛出:
Exception
-