Weixiao Huang

Results 19 comments of Weixiao Huang
trafficstars

@SJK132 非常感谢,可行了!还有个问题想请教一下,如果我是个人号(没有认证),那是不是`itchatmp.send('hello', fromUser)`这个接口在被动回复的情况下是没作用的?如下: ```python @itchatmp.msg_register([TEXT]) def reply_img(msg): toUserName = msg['FromUserName'] print(toUserName) itchatmp.send('hello', toUserName) ``` 如果不行的话,只用`return`返回消息的方式,可以在被动回复中发图片、视频之类的消息吗? 谢谢!

@SJK132 对我的意思就是用户主动找我了,用户给我发消息了。然而我发现这里调用`itchatmp.send('hello', toUserName)`并没有成功给用户发送消息,console里也没有提示错误。只有用`return`的话才能发文本消息给用户

@SJK132 谢谢!看到错误了,`api功能未授权,请确认公众号已获得该接口,可以在公众平台官网-开发者中心页中查看接口权限`,可能是公众号需要认证开通权限的关系。

@SJK132 我现在尝试了一下,如果是本地的图片,直接`return '@[email protected]'`可以实现把当前目录下图片发给用户,图片大小应该是`5M`以内

Sorry for my delay. I'm not familiar with skaffold, so it may takes some time for me to learn it. Please wait some moment

I finished it with skaffold

All discussions have been resolved

Is there any problem of this PR?

Because sometimes we may write codes like this in `setup.py` ```python #!/usr/bin/env python from setuptools import setup, find_packages with open("requirements.txt") as fp: install_requires = fp.read() setup( # get requires from...

Is there any update of this PR?