cixingguangming55555 / wechat-bot

带二次开发接口的PC微信聊天机器人
MIT License
2.46k stars 664 forks source link

如何传值问题 #200

Closed hq112415 closed 1 year ago

hq112415 commented 1 year ago

请问使用http的get_contact_list接口,其中的的wxid、content两个字段要如何获取呢? async function get_contact_list() { const jpara={ id:getid(), type:USER_LIST, roomid:'null',//null wxid:'null',//not null content:'null',//not null nickname:'null', ext:'null' };

hq112415 commented 1 year ago

{ "para":{ "id": 1111111, "type": 5000, "roomid": "@chatroom", "wxid": "wxid_", "content": "null", "nickname": "null", "ext": "null" } } http请求这样设置