-
Notifications
You must be signed in to change notification settings - Fork 424
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
购物车加锁的问题 #52
Comments
@twocucao |
加锁是为了校验的唯一性,假设校验a b c三个产品,你校验了a,还有b、c没校验,此时a的商品改了价格。那不就白校验了吗? |
可以避免多端设备同时操作 比如网页和APP |
催更,23333☺☺☺ @TIGERB |
收益良多, 先感谢贡献者们
在购物车模块中 是这么讲解的
问题是为何需要给购物车加锁?
The text was updated successfully, but these errors were encountered: