public interface MiniProgramService
| 限定符和类型 | 方法和说明 |
|---|---|
void |
bind(String source,
String sessionId,
String code,
Map<String,Object> parameters)
绑定
|
boolean |
checkSessionKey(String source,
String sessionId)
检查小程序Session Key是否有效
|
com.gitlab.summercattle.addons.wechat.common.MiniProgramUserSession |
getSession(String source,
String jsCode)
得到会话
|
List<UserEncryptKeyInfo> |
getUserEncryptKeys(String source,
String sessionId)
得到用户加密要素信息
|
com.gitlab.summercattle.addons.wechat.common.MiniProgramUserSession getSession(String source, String jsCode) throws com.gitlab.summercattle.commons.exception.CommonException
source - 来源jsCode - 登录时获取的codecom.gitlab.summercattle.commons.exception.CommonException - 异常void bind(String source, String sessionId, String code, Map<String,Object> parameters) throws com.gitlab.summercattle.commons.exception.CommonException
source - 来源sessionId - 临时会话Idcode - 手机号获取凭证parameters - 参数com.gitlab.summercattle.commons.exception.CommonException - 异常List<UserEncryptKeyInfo> getUserEncryptKeys(String source, String sessionId) throws com.gitlab.summercattle.commons.exception.CommonException
source - 来源sessionId - 会话Idcom.gitlab.summercattle.commons.exception.CommonException - 异常Copyright © 2022 Summer Cattle Team. All rights reserved.