SuperWeChatPC icon indicating copy to clipboard operation
SuperWeChatPC copied to clipboard

WXSendTextMsg方法返回值为50,而非0

Open revolutionxuanbei opened this issue 5 years ago • 4 comments

通过wxid发送的消息的方法返回值为50,而非0。这是什么情况

相关代码

if __name__ == "__main__":
    wxsdk = WXSDK()
    print(wxsdk.WXOpenWechat())
    input("wait for...")
    print(wxsdk.WXIsWechatAlive())
    print(wxsdk.WXIsWechatSDKOk())
    print(wxsdk.WXInitialize())
    input("wait for...")
    print(wxsdk.WXSendTextMsg("mywxid", "This is a python sdk test msg"),'--返回值是')

版本信息 2.6.8.68

revolutionxuanbei avatar Aug 06 '19 19:08 revolutionxuanbei

这是全部回显

24148
wait for...
1
0
0
wait for...
50 --返回值是

revolutionxuanbei avatar Aug 06 '19 19:08 revolutionxuanbei

我也是这个结果。是不是项目不能用啊

kkk25641463 avatar Aug 20 '19 09:08 kkk25641463

我也是这个结果,有人知道原因吗

nanco1 avatar Oct 11 '19 06:10 nanco1

有解决吗,我也是这个问题

Stone-wh avatar Sep 15 '20 10:09 Stone-wh