diff --git a/wxbot_project_py2.7/wechat/wechat_apis.py b/wxbot_project_py2.7/wechat/wechat_apis.py index 6f02c42..84b84e7 100644 --- a/wxbot_project_py2.7/wechat/wechat_apis.py +++ b/wxbot_project_py2.7/wechat/wechat_apis.py @@ -585,6 +585,7 @@ class WXAPI(object): } r = requests.post(url, data=multipart_encoder, headers=headers) + dic = json.loads(r.text) #修复无法发送Media消息BUG if dic['BaseResponse']['Ret'] == 0: return dic return None