Fix At member for text message sending

This commit is contained in:
Changhua
2022-08-20 17:39:21 +08:00
parent 813dac13cd
commit 53cf738e32
9 changed files with 104 additions and 68 deletions
+2 -2
View File
@@ -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秒
// 测试发送照片