用手机创建订单时候无法拿到productid导致无法查询到购物车的商品,调试发现购物车不为空

来源:8-4 动态注入参数发起支付

不想做程序猿

2019-03-19

如题:图片描述

写回答

7回答

廖师兄

2019-03-20

打断点debug看,追溯源头。把代码push到git, 发我连接

0
4
廖师兄
回复
不想做程序猿
你是重新提了个问题了吧,我已经回复了。之后不用提重复问题。
2019-03-24
共4条回复

不想做程序猿

提问者

2019-03-19

涉及到报错类以及报错信息//img.mukewang.com/szimg/5c90958e0001604517810739.jpg第一个类//img.mukewang.com/szimg/5c9095a90001e34010480367.jpg第二个类//img.mukewang.com/szimg/5c9095c000012bcc11680566.jpg第三个类//img.mukewang.com/szimg/5c9095d500018e8118910881.jpg

0
0

不想做程序猿

提问者

2019-03-19

//img.mukewang.com/szimg/5c907940000156b907950376.jpg是不是

我要把这块改成proxy.springboot那个代理网址得问题?另外再次修改这之后npm run build报错,报错截图//img.mukewang.com/szimg/5c9083ff000105a107440401.jpg

错误日志报错为:

0 info it worked if it ends with ok

1 verbose cli [ '/usr/local/node/bin/node',

1 verbose cli   '/usr/local/node/bin/npm',

1 verbose cli   'run',

1 verbose cli   'build' ]

2 info using npm@3.10.10

3 info using node@v6.10.2

4 verbose run-script [ 'prebuild', 'build', 'postbuild' ]

5 info lifecycle sell@1.0.0~prebuild: sell@1.0.0

6 silly lifecycle sell@1.0.0~prebuild: no script for prebuild, continuing

7 info lifecycle sell@1.0.0~build: sell@1.0.0

8 verbose lifecycle sell@1.0.0~build: unsafe-perm in lifecycle true

9 verbose lifecycle sell@1.0.0~build: PATH: /usr/local/node/lib/node_modules/npm/bin/node-gyp-bin:/opt/code/sell_fe_buyer/node_modules/.bin:/root/maven//bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/nginx/sbin:/usr/local/jdk1.8.0_111/bin:/usr/local/node/bin:/root/bin

10 verbose lifecycle sell@1.0.0~build: CWD: /opt/code/sell_fe_buyer

11 silly lifecycle sell@1.0.0~build: Args: [ '-c', 'node build/build.js' ]

12 silly lifecycle sell@1.0.0~build: Returned: code: 1  signal: null

13 info lifecycle sell@1.0.0~build: Failed to exec build script

14 verbose stack Error: sell@1.0.0 build: `node build/build.js`

14 verbose stack Exit status 1

14 verbose stack     at EventEmitter.<anonymous> (/usr/local/node/lib/node_modules/npm/lib/utils/lifecycle.js:255:16)

14 verbose stack     at emitTwo (events.js:106:13)

14 verbose stack     at EventEmitter.emit (events.js:191:7)

14 verbose stack     at ChildProcess.<anonymous> (/usr/local/node/lib/node_modules/npm/lib/utils/spawn.js:40:14)

14 verbose stack     at emitTwo (events.js:106:13)

14 verbose stack     at ChildProcess.emit (events.js:191:7)

14 verbose stack     at maybeClose (internal/child_process.js:886:16)

14 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)

15 verbose pkgid sell@1.0.0

16 verbose cwd /opt/code/sell_fe_buyer

17 error Linux 3.10.0-514.10.2.el7.x86_64

18 error argv "/usr/local/node/bin/node" "/usr/local/node/bin/npm" "run" "build"

19 error node v6.10.2

20 error npm  v3.10.10

21 error code ELIFECYCLE

22 error sell@1.0.0 build: `node build/build.js`

22 error Exit status 1

23 error Failed at the sell@1.0.0 build script 'node build/build.js'.

23 error Make sure you have the latest version of node.js and npm installed.

23 error If you do, this is most likely a problem with the sell package,

23 error not with npm itself.

23 error Tell the author that this fails on your system:

23 error     node build/build.js

23 error You can get information on how to open an issue for this project with:

23 error     npm bugs sell

23 error Or if that isn't available, you can get their info via:

23 error     npm owner ls sell

23 error There is likely additional logging output above.

24 verbose exit [ 1, true ]


0
0

不想做程序猿

提问者

2019-03-19

//img.mukewang.com/szimg/5c905da20001c4fb10630188.jpg抓包提示

0
0

不想做程序猿

提问者

2019-03-19

抓包提示

//img.mukewang.com/szimg/5c905d780001f9f009950832.jpg


0
0

不想做程序猿

提问者

2019-03-19

购物车里除了购买数量不为空,其他全部为空,在未生成订单号之前,至少应该是商品id不为空,但是为什么是空的//img.mukewang.com/szimg/5c9053e0000185a613520236.jpg

0
1
黑子的一生
怎么解决的
2020-04-04
共1条回复

不想做程序猿

提问者

2019-03-19

//img.mukewang.com/szimg/5c90534c0001818411890479.jpg购物车不为空,但无法获取商品id

0
0

Spring Boot双版本(1.5/2.1) 打造企业级微信点餐系统

从0到1开发中小型企业级Java应用,并学会迭代重构技巧

6410 学习 · 5247 问题

查看课程