GeWe:更简洁的微信开发
拒绝适配漩涡,专注业务创造。
• 模块化:支付、消息、客服,自由拼装
• 高稳定:网络波动、令牌失效,自动修复
• 永无忧:底层API更新,业务代码无需变动

请求参数
Header 参数
export interface ApifoxModel {
"X-GEWE-TOKEN": string;
[property: string]: any;
}
Body 参数application/json
export interface ApifoxModel {
/**
* 设备ID
*/
appId: string;
/**
* 邀请进群回调消息中的url
*/
url: string;
[property: string]: any;
}
示例
{
"appId": "{{appid}}",
"url": "https://support.weixin.qq.com/cgi-bin/mmsupport-bin/addchatroombyinvite?ticket=A%2FtYjg2L%2FGB%2FHYqOwzWNMQ%3D%3D"
}
示例代码
curl --location --request POST 'http://api.geweapi.com/gewe/v2/api/group/agreeJoinRoom' \
--header 'X-GEWE-TOKEN: ' \
--header 'Content-Type: application/json' \
--data-raw '{
"appId": "",
"url": "https://support.weixin.qq.com/cgi-bin/mmsupport-bin/addchatroombyinvite?ticket=A%2FtYjg2L%2FGB%2FHYqOwzWNMQ%3D%3D"
}'
返回响应
export interface ApifoxModel {
data: Data;
msg: string;
ret: number;
[property: string]: any;
}
export interface Data {
/**
* 群ID
*/
chatroomId: string;
[property: string]: any;
}
示例
{
"ret": 200,
"msg": "操作成功",
"data": {
"chatroomId": "19189253160@chatroom"
}
}