Sleep 1s
This commit is contained in:
parent
b16957ede4
commit
a3500cdd15
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user