fix(1028423): 重构4S店信息修改功能的事务处理和异常管理
- 在MerchantEditRemoteImpl中添加@Transactional注解确保数据一致性 - 将业务逻辑分离到doUpdateMerchantInfo方法中实现事务控制 - 实现异常兜底机制,在Dubbo入口处统一捕获和处理异常 - 修复RpcServiceException构造函数调用方式确保错误码正确传递 - 优化MerchantEditController中的异常处理逻辑提高系统稳定性
Showing
2 changed files
with
26 additions
and
10 deletions
-
Please register or sign in to post a comment