wx.request({
url: dataUrl,
method: "PATCH",
data: { "isRead": true },
header: app.globalData.headerCommon,
success: function (res) {
if (res.data.code === 200) {
typeof callback == "function" && callback(res.data.data, setKey);
}
else {
showError(res.data.msg);
}
},
fail: function (error) {
console.log(error);
}
})
this API directly reports
I don"t know what the reason is.