diff --git a/App/App.cpp b/App/App.cpp index 38f8a3f..5df300c 100644 --- a/App/App.cpp +++ b/App/App.cpp @@ -59,9 +59,10 @@ int main() wcout << L"Message: 接收通知中......" << endl; WxSetTextMsgCb(onTextMsg); -#if 0 + // 测试消息发送 - WxSendTextMsg(wxid, at_wxid, content); + WxSendTextMsg(wxid, at_wxid, content); +#if 0 // 发送照片 WxSendImageMsg(wxid, img_path); diff --git a/Spy/load_calls.cpp b/Spy/load_calls.cpp index 362dbb4..86cadd7 100644 --- a/Spy/load_calls.cpp +++ b/Spy/load_calls.cpp @@ -7,7 +7,7 @@ WxCalls_t wxCalls = { 0x23631D0, // Login Status { 0x236307C, 0x23630F4, 0x2363128 }, // User Info: wxid, nickname, mobile - 0x3E3B80, // Send Message + 0x521D30, // Send Message /* Receive Message: Hook, call, type, self, id, msgXml, roomId, wxId, content */ { 0x550F4C, 0xA94A50, 0x38, 0x3C, 0x184, 0x1EC, 0x48, 0x170, 0x70 },