diff --git a/App/App.cpp b/App/App.cpp index 67fda28..ce5c043 100644 --- a/App/App.cpp +++ b/App/App.cpp @@ -56,16 +56,17 @@ int main() wprintf(L"Message: 接收通知中......\n"); WxSetTextMsgCb(onTextMsg); + Sleep(1000); // 等待1秒 // 测试发送消息 wprintf(L"测试发送消息\n"); WxSendTextMsg(wxid, at_wxid, content); + Sleep(1000); // 等待1秒 // 测试发送照片 wprintf(L"测试发送照片\n"); WxSendImageMsg(wxid, img_path); - - Sleep(10000); // 等待10秒 + Sleep(1000); // 等待1秒 // 测试获取联系人 auto mContact = WxGetContacts();