- 【获取已上传的代码的页面列表】双份的BUG 补充请求详细数据供排查?
https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/api/code/get_page.html 经过反复测试都是双份,。 请求内容: https://api.weixin.qq.com/wxa/get_page?access_token=56_JNu2_II1YjUct8yN12TDf7fuJBywilSaP5HFTMV-uNVf2KqrKBTlpxz1RjNBHpdVRxOanGE6a1LPXkR5GbwIth1RV2Wow_qiK1HmyIt11c6JYsl0AsB-FIO7Uq_1Sbf-mmAq0XQw9M0c7HqKQNHaAKDHEY 返回内容: HTTP/1.1 200 OK Connection: keep-alive Content-Type: application/json; charset=UTF-8 Content-Length: 1223 {"errcode":0,"errmsg":"ok","page_list":["pages\/home\/index","pages\/category-new\/index","pages\/cart\/index","pages\/my\/index","pages\/login\/index","pages\/address\/address-list\/index","pages\/address\/address-edit\/index","pages\/search\/index","pages\/product\/product-list\/index","pages\/product\/product-detail\/index","pages\/order\/order-list\/index","pages\/order\/order-preview\/index","pages\/order\/order-detail\/index","pages\/coupon\/coupon-list\/index","pages\/coupon\/coupon-my\/index","pages\/user\/user-rule\/index","pages\/user\/log\/index","pages\/recharge\/index","pages\/recharge\/recharge-detail\/index","pages\/home\/index","pages\/category-new\/index","pages\/cart\/index","pages\/my\/index","pages\/login\/index","pages\/address\/address-list\/index","pages\/address\/address-edit\/index","pages\/search\/index","pages\/product\/product-list\/index","pages\/product\/product-detail\/index","pages\/order\/order-list\/index","pages\/order\/order-preview\/index","pages\/order\/order-detail\/index","pages\/coupon\/coupon-list\/index","pages\/coupon\/coupon-my\/index","pages\/user\/user-rule\/index","pages\/user\/log\/index","pages\/recharge\/index","pages\/recharge\/recharge-detail\/index"]} 比如查询结果中:pages\/home\/index
2022-04-27 - 升级到新版本IDE,发现一个BUG
/** * 对象序列化 * @param {Object} obj * @return {String} */ paramSerializer(obj) { console.log(obj) if (!obj) return '' let that = this let parts = [] for(let key in obj) { const value = obj[key] if (value === null || that.isUndefined(value)) return if (that.isArray(value)) { value.forEach(function(v) { parts.push(that.encodeUriQuery(key) + '=' + that.encodeUriQuery(that.serializeValue(v))) }) } else { console.log(key) parts.push(that.encodeUriQuery(key) + '=' + that.encodeUriQuery(that.serializeValue(value))) console.log(that.encodeUriQuery(key) + '=' + that.encodeUriQuery(that.serializeValue(value))) } } console.log(parts) return parts.join('&') } 参数: { id: 896 } 升级IDE之前是好的,返回正常["id=16"] 但是 升级之后, 放在手机上就解析成了 16=16 ,电脑上就没事 ,急急急
2017-02-07