Skip to content

Commit e73d6ef

Browse files
committed
更新[京东618]: 修复由于错误设置 Content-Length 导致加入 品牌会员 超时问题
1 parent 2259065 commit e73d6ef

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎jd/jd.618.js‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -294,6 +294,7 @@ function joinBrand(task) {
294294
}
295295
const joinurl = `https://api.m.jd.com/client.action?appid=jd_shop_member&functionId=bindWithVender&body=${encodeURIComponent(JSON.stringify(body))}&client=H5&clientVersion=8.5.6&uuid=88888`
296296
const url = { url: joinurl, headers: JSON.parse($.VAL_headers) }
297+
delete url.headers['Content-Length']
297298
$.get(url, (error, response, data) => {
298299
try {
299300
const _data = JSON.parse(data)

0 commit comments

Comments
 (0)