fix: 为商品上架审批相关方法添加分布式锁并优化异常处理
1. 新增BeanConfig配置类注册Redis分布式锁组件 2. 为reject、review、submitReview、updateConfirmStep方法添加GlsxDistributeLock分布式锁 3. 优化异常捕获逻辑,先单独处理RpcServiceException再捕获全局Exception 4. 将SERVICE_ERROR枚举修正为SERVER_ERROR
Showing
2 changed files
with
45 additions
and
2 deletions
-
Please register or sign in to post a comment