Comments (12)
5xx 的错误码一般都是服务器出错,应该是微信服务器的问题吧。
发自我的 iPhone
在 2015年6月4日,11:56,zhangwen9229 [email protected] 写道:
—
Reply to this email directly or view it on GitHub.
from wechatpy.
那我下午再试试。 就是再点击菜单时,触发 创建会话。 就这样报错了。 截图暂时传不上。
from wechatpy.
from wechatpy.
@messense 手动创建会话不行
return (TransferCustomerServiceReply(message=self.msg)).render()
直接转发多客服 可以
但用户点击自定义菜单【人工服务】 后端 直接 创建会话,不可行吗?
from wechatpy.
@zhangwen9229 你用的是哪个版本的 wechatpy?我看截图里面地址有些问题,不应该有 /cgi-bin/ 的。
from wechatpy.
上午升级了 最新版本 0.8.7 @messense
class WeChatClient(BaseWeChatClient):
"""
微信 API 操作类
通过这个类可以操作微信 API,发送主动消息、群发消息和创建自定义菜单等。
"""
API_BASE_URL = 'https://api.weixin.qq.com/cgi-bin/'
from wechatpy.
@zhangwen9229 Sorry. 上次多客服相关接口的修改还没发布新版本,你安装 develop 分支的代码试下。
from wechatpy.
@messense https://github.com/messense/wechatpy/blob/master/wechatpy/client/api/customservice.py#L137
你查看下这块, 代码上写的地址应该是没错。 我已安装develop代码,等会再测试试试
from wechatpy.
@messense 我刚测试完, develop代码可以使用
customservice.create_session(self.msg.source, u"test@test", text=None)
from wechatpy.
@zhangwen9229 Thanks. 发布了新版本到 PyPi 了。
from wechatpy.
@messense You are welcome. 我等会升级下最新版本
from wechatpy.
@messense 创建会话测试正常。 可以关闭了。
from wechatpy.
Related Issues (20)
- 解析回调信息报错,初始化失败 HOT 1
- 微信服务号的access_token刷新机制 HOT 1
- 微信服务号安全模式下xml消息解密 HOT 1
- 针对订阅消息的支持? HOT 1
- 微信支付接口有升级到V3版本吗? HOT 2
- 【企业微信】日历/日程 更新返回无id字段导致引起KeyError HOT 1
- 【企业微信】批量获取审批单号 get_approval_info 过滤参数少了s
- 微信客户端无法渲染换行符\n HOT 4
- 请问有 商家转账到零钱 的api吗?
- 删除群发消息接口(delete_mass),缺少article_idx参数
- 添加企业微信发送邮件功能 HOT 1
- 文字消息回复失败
- 支持「开放接口服务」对应API
- 批量获取审批单号 filter 参数问题 HOT 1
- 企业微信审核接口参数错误 HOT 1
- wechatpy==1.8.14 连续打印大量Error code: 40029 日志,导致磁盘io很高
- 企业微信客服部分接口没有? HOT 3
- 异步接口 HOT 2
- 目前企业微信添加/删除好友事件不被支持
- 微信原仿真测试系统已不再维护
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wechatpy.