- 后端:引入分布式事务框架 seata 框架。
- 后端:目前订单提交时,如果发生异常,会回滚优惠劵的使用。
This commit is contained in:
@@ -173,6 +173,7 @@
|
||||
createOrder({
|
||||
orderItems,
|
||||
userAddressId,
|
||||
couponCardId,
|
||||
remark,
|
||||
}).then(result => {
|
||||
if (result) {
|
||||
|
||||
Reference in New Issue
Block a user