Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

抢购商品无货无法加入购物车查询异常 #13

Open
laobinggan opened this issue Apr 5, 2023 · 0 comments
Open

抢购商品无货无法加入购物车查询异常 #13

laobinggan opened this issue Apr 5, 2023 · 0 comments

Comments

@laobinggan
Copy link

E:\node\npm.cmd run qiang

jd_v3@0.0.1 qiang
node index.js

cookie写入本地成功。
开始检查购物车此商品状态-----------
查看购物车信息-----------
无此商品,并开始加入购物车-----------
加入购物车成功-----------√√√√√
抢购时间:2022-04-01 20:08:40
倒计时:2023-04-05 16:48:37 381
勾选商品-----------√√√√√ 2023-04-05 16:48:37 543
确认订单-----------√√√√√ 2023-04-05 16:48:37 829
提交订单-----------√√√√√ 2023-04-05 16:48:38 135
抢单失败-----------√√√√√ 2023-04-05 16:48:38 136
log写入本地成功。
开始检查购物车此商品状态-----------
查看购物车信息-----------
E:\jd\jd_qianggou\jd_v3\index.js:203
const { stockCode } = await checkCartProduct()
^

TypeError: Cannot destructure property 'stockCode' of '(intermediate value)' as it is undefined.
at E:\jd\jd_qianggou\jd_v3\index.js:203:13
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

Node.js v18.15.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant