vbot icon indicating copy to clipboard operation
vbot copied to clipboard

怎么主动给好友发送消息?而不是收到之后回复消息

Open StandOpen opened this issue 7 years ago • 5 comments

StandOpen avatar Oct 30 '18 02:10 StandOpen

需要开启 swoole 插件。

程序会启动 swoole server ,自己的程序通过 swoole client 连接 swoole server 发送消息即可, server 会调用 api/send 进行发送。

liyuze avatar Oct 31 '18 06:10 liyuze

哪位高手能否给一个swoole的例子啊? 我docker+swoole+laravel 搭建好了,不知道怎么搞下一步了

guoxiangke avatar Feb 22 '19 07:02 guoxiangke

我也想知道,,

boySang avatar Feb 22 '19 07:02 boySang

自己刚刚研究出来了, 改天我写个文章. 如有需要,加我微信: bluesky_still 提供技术服务

guoxiangke avatar Feb 22 '19 08:02 guoxiangke

需要开启 swoole 插件。

程序会启动 swoole server ,自己的程序通过 swoole client 连接 swoole server 发送消息即可, server 会调用 api/send 进行发送。

我在vbot配置中开启了swoole,插件也装好了,运营vbot的时候一直提示这个: ][ERROR] https://wx.qq.com/cgi-bin/mmwebwx-bin/webwxsendmsg?pass_ticket=CRsHi%2FM0oT1pm%2BuAOfdbSveZoVJvumeT8kWygQqd1EINJMjsHl9xpfRv6FTD%2FM7hcURL error 35: A PKCS #11 module returned CKR_DEVICE_ERROR, indicating that a problem has occurred with the token or slot. (see http://curl.haxx.se/libcurl/c/libcurl-errors.html) 请问这个要咋处理啊?

还有是用swoole-client咋发送消息啊?麻烦能写个例子我看下吗?

boySang avatar Mar 28 '19 08:03 boySang