接口 IWxUserBindService
- 所有超级接口:
IBaseService<SysWxUserBind>,com.baomidou.mybatisplus.extension.repository.IRepository<SysWxUserBind>,com.baomidou.mybatisplus.extension.service.IService<SysWxUserBind>
- 所有已知实现类:
WxUserBindServiceImpl
-
字段概要
从接口继承的字段 com.baomidou.mybatisplus.extension.repository.IRepository
DEFAULT_BATCH_SIZE -
方法概要
修饰符和类型方法说明bindOpenId(BindOpenIdDto dto) 绑定OpenIdgetByOpenId(String openId, WxType type) 通过openID获取绑定关系getByUnionId(String unionId) 通过unionID获取绑定关系getByUserId(Long userId, WxType type) 根据用户查询微信绑定关系saveOrUpdate(Long userId, WxType type, cn.binarywang.wx.miniapp.bean.WxMaJscode2SessionResult sessionResult) 保存或更新微信信息从接口继承的方法 com.hengyi.xbaseweb.system.service.base.IBaseService
save, saveBatch, saveOrUpdate, saveOrUpdateBatch, updateBatchById, updateById从接口继承的方法 com.baomidou.mybatisplus.extension.repository.IRepository
count, count, exists, getBaseMapper, getById, getEntityClass, getMap, getObj, getOne, getOne, getOneOpt, getOneOpt, getOptById, ktQuery, ktUpdate, lambdaQuery, lambdaQuery, lambdaUpdate, list, list, list, list, listByIds, listByMap, listMaps, listMaps, listMaps, listMaps, listObjs, listObjs, listObjs, listObjs, page, page, pageMaps, pageMaps, query, remove, removeById, removeById, removeById, removeByIds, removeByIds, removeByMap, update, update, update从接口继承的方法 com.baomidou.mybatisplus.extension.service.IService
removeBatchByIds, saveBatch, saveOrUpdateBatch, updateBatchById
-
方法详细资料
-
getByOpenId
通过openID获取绑定关系- 参数:
openId-type-- 返回:
-
getByUnionId
通过unionID获取绑定关系- 参数:
unionId-- 返回:
-
getByUserId
根据用户查询微信绑定关系- 参数:
userId-type-- 返回:
-
saveOrUpdate
Boolean saveOrUpdate(Long userId, WxType type, cn.binarywang.wx.miniapp.bean.WxMaJscode2SessionResult sessionResult) 保存或更新微信信息- 参数:
userId-sessionResult-- 返回:
-
bindOpenId
绑定OpenId- 参数:
dto-- 返回:
-