tychxn / jd-assistant

京东抢购助手:包含登录,查询商品库存/价格,添加/清空购物车,抢购商品(下单),查询订单等功能
MIT License
5.18k stars 1.92k forks source link

京东国际的商品无法提交订单,商品ID10031061737546 #209

Open buildcold opened 2 years ago

buildcold commented 2 years ago

2022-05-09 22:52:41,357 INFO: 订单提交失败, 错误码:0, 返回信息:获取用户订单信息失败(下单商品可能为第三方商品,将切换为普通发票进行尝试); PS:不是京东国际的商品可正常下单;

ImCa0 commented 2 years ago

请问解决了吗

ImCa0 commented 2 years ago

解决了,在提交订单前手动修改一下配送方式(我的是京东自营),并且提交订单时带上 'overseaMerge': 1 的参数

https://github.com/ImCa0/jd-assistant/commit/1f7f9ba25a89b43c42647c9097b84a2975febd88#diff-872daefd034547eba2ec5464a0042b1ed4bd414720a174bdce2b6cd7e2d1e993

Splinter1 commented 1 year ago

解决了,在提交订单前手动修改一下配送方式(我的是京东自营),并且提交订单时带上 'overseaMerge': 1 的参数

ImCa0@1f7f9ba#diff-872daefd034547eba2ec5464a0042b1ed4bd414720a174bdce2b6cd7e2d1e993

貌似订单接口变了,变成这样的了https://api.m.jd.com/api?appid=trade-jd-com-v5&loginType=3&client=pc&t=1685971314891&clientVersion=1.0.0&uuid=122270672.1685968467604685001854.1685968468.1685968468.1685968468.1&functionId=pc_trade_submitOrder&cthr=1