|
|
@@ -273,10 +273,17 @@ public class OrderServiceImpl implements OrderService {
|
|
|
OrderDTO orderDTO;
|
|
|
try {
|
|
|
orderDTO = orderFeign.mailingSaveMultiple(mailingSaveMultipleDTO);
|
|
|
+ } catch (SLWebException e) {
|
|
|
+ log.error("【mailingSaveMultiple报错】", e);
|
|
|
+ e.printStackTrace();
|
|
|
+ return ApiResponse.error(SZColdChainConstant.CODE_SERVICE_INNER_ERROR, e.getMsg());
|
|
|
} catch (SLException e) {
|
|
|
log.error("【mailingSaveMultiple报错】", e);
|
|
|
e.printStackTrace();
|
|
|
- return ApiResponse.error(SZColdChainConstant.CODE_SERVICE_INNER_ERROR, "服务器错误");
|
|
|
+ return ApiResponse.error(SZColdChainConstant.CODE_SERVICE_INNER_ERROR, e.getMsg());
|
|
|
+ } catch (Exception e) {
|
|
|
+ e.printStackTrace();
|
|
|
+ return ApiResponse.error(SZColdChainConstant.CODE_SERVICE_INNER_ERROR, e.getMessage());
|
|
|
}
|
|
|
|
|
|
OrderResponse orderResponse = orderDTO2OrderResponse(orderDTO, orderRequest);
|