hpyer / node-easywechat

EasyWeChat for Node.js
MIT License
138 stars 18 forks source link

微信支付设置http.throw = false 无效 #59

Closed ValueLan closed 9 months ago

ValueLan commented 9 months ago

因为请求微信支付,返回500 或者400 等状态,需要如下才能拿到500的body

``

try { let res = await client.post ('xx', {}) } catch(e) { console.log(e.response.data) } ``

ValueLan commented 9 months ago

博主辛苦了,暂时解决这些问题,我这边应该都能跑通了

hpyer commented 9 months ago

请更新到 v3.5.7