GeWe框架作为企业级微信机器人开发引擎,其设计理念和技术架构充分考虑了开发者生态与企业合规需求。支持Python/Java/go等脚本语言编写业务逻辑,降低开发门槛。

请求参数

Header 参数

export interface ApifoxModel {"X-GEWE-TOKEN": string;[property: string]: any;
}

Body 参数application/json

export interface ApifoxModel {/*** 设备ID*/appId: string;/*** 群ID*/chatroomId: string;/*** 删除的群成员wxid,多个英文逗号分隔*/wxids: string;[property: string]: any;
}

示例

{"appId": "{{appid}}","wxids": "wxid_8pvka4jg6qzt22","chatroomId": "34757816141@chatroom"
}

示例代码

Unirest.setTimeouts(0, 0);
HttpResponse<String> response = Unirest.post("http://api.geweapi.com/gewe/v2/api/group/removeMember").header("X-GEWE-TOKEN", "").header("Content-Type", "application/json").body("{\n    \"appId\": \"\",\n    \"wxids\": \"wxid_8pvka4jg6qzt22\",\n    \"chatroomId\": \"34757816141@chatroom\"\n}").asString();

返回响应

export interface ApifoxModel {msg: string;ret: number;[property: string]: any;
}

示例

{"ret": 200,"msg": "操作成功"
}