diff --git a/wxapp/wx_ziwi.js b/wxapp/wx_ziwi.js index 83ba961..2b65ee4 100644 --- a/wxapp/wx_ziwi.js +++ b/wxapp/wx_ziwi.js @@ -40,9 +40,9 @@ class Task { 'Content-Type': 'application/json' }, method: 'POST', - data: { "Wxid": "" + this.wxid, "Appid": "" + appid } + body: JSON.stringify({ "Wxid": "" + this.wxid, "Appid": "" + appid }) } - let { data: result } = await this.request(options); + let { body: result } = await $.httpRequest(options);