|
@@ -130,7 +130,7 @@ class WeixinMP(object):
|
|
|
def post(self, path, params={}, isjson=True):
|
|
|
url = "{0}{1}".format(self.api_uri, path)
|
|
|
if isjson:
|
|
|
- resp = requests.post(url, json=params)
|
|
|
+ resp = requests.post(url, data=json.dumps(params))
|
|
|
else:
|
|
|
resp = requests.post(url, data=params)
|
|
|
data = Map(resp.json())
|