Commit 20d730cd by zhouhaibao

fix(common): 修复RPC服务异常构造函数调用

- 移除RpcServiceException构造函数中的多余参数
- 简化异常抛出逻辑,仅传递错误消息参数
- 保持异常处理的一致性
1 parent a4f730f7
...@@ -38,7 +38,7 @@ public class CommonService { ...@@ -38,7 +38,7 @@ public class CommonService {
if (rpcResponse.isSuccess()) { if (rpcResponse.isSuccess()) {
return rpcResponse.getResult(); return rpcResponse.getResult();
} }
throw new RpcServiceException(rpcResponse.getError(), rpcResponse.getException().getErrId(), rpcResponse.getMessage()); throw new RpcServiceException(rpcResponse.getMessage());
} }
/** /**
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!