Fix At member for text message sending
This commit is contained in:
+2
-2
@@ -68,7 +68,7 @@ int main()
|
||||
for (auto it = WxMsgTypes.begin(); it != WxMsgTypes.end(); ++it) {
|
||||
wprintf(L"%d: %s\n", it->first, it->second.c_str());
|
||||
}
|
||||
Sleep(1000); // 等待1秒
|
||||
Sleep(1000); // 等待1秒
|
||||
|
||||
wprintf(L"Message: 接收通知中......\n");
|
||||
WxEnableRecvMsg(onTextMsg);
|
||||
@@ -76,7 +76,7 @@ int main()
|
||||
|
||||
// 测试发送消息
|
||||
wprintf(L"测试发送消息\n");
|
||||
WxSendTextMsg(wxid, at_wxid, content);
|
||||
WxSendTextMsg(wxid, content, at_wxid);
|
||||
Sleep(1000); // 等待1秒
|
||||
|
||||
// 测试发送照片
|
||||
|
||||
Reference in New Issue
Block a user