Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

wx.getShareInfo升级版本wx.getGroupEnterInfo响应参数定义 #3736

Copy link
Copy link
@chenzfp

Description

@chenzfp
Issue body actions

简要描述

当前最新sdk,没有wx.getGroupEnterInfo响应信息的定义,这个对应旧的wx.getShareInfo
wx.getShareInfo:https://developers.weixin.qq.com/miniprogram/dev/api/share/wx.getShareInfo.html

wx.getGroupEnterInfo:https://developers.weixin.qq.com/miniprogram/dev/api/open-api/group/wx.getGroupEnterInfo.html

需要在sdk中定义wx.getGroupEnterInfo的success返回encryptedData、iv解密后的结果
字段如下:
{
"opengid": "OPENGID", // 多聊群下返回的群唯一标识
"open_single_roomid": "", // 单聊群下返回的群唯一标识
"group_openid": "", // 用户在当前群的唯一标识
"chat_type": 3, // 聊天室类型
}

在WxMaShareService接口中添加getGroupEnterInfo()方法
public interface WxMaShareService {
WxMaShareInfo getShareInfo(String sessionKey, String encryptedData, String ivStr);
}

官方文档地址

参考文档:https://developers.weixin.qq.com/miniprogram/dev/api/open-api/group/wx.getGroupEnterInfo.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.