Closed ArwenMax closed 4 years ago
假设自定义程序是app/handlers.py下的handler1函数
则在handler1函数上加装wechat_django.handler.message_handler
装饰器,在后台配置里添加app.handlers.handler1,函数接收wechat_django.models.WeChatMessageInfo
对象,返回字符串或wechatpy.replies.BaseReply
参考 https://github.com/Xavier-Lam/wechat-django#自定义微信回复
谢谢
如题