diff --git a/BBWY.Server.Business/PlatformSDK/JDBusiness.cs b/BBWY.Server.Business/PlatformSDK/JDBusiness.cs index 9bcd7aca..4bc0b5d1 100644 --- a/BBWY.Server.Business/PlatformSDK/JDBusiness.cs +++ b/BBWY.Server.Business/PlatformSDK/JDBusiness.cs @@ -462,11 +462,11 @@ namespace BBWY.Server.Business logger.Info(response); if (response.IsError) - throw new Exception($"获取未付款订单失败,{(string.IsNullOrEmpty(response.ErrorMsg) ? response.ErrMsg : response.ErrorMsg)}"); + throw new BusinessException($"获取未付款订单失败,{(string.IsNullOrEmpty(response.ErrorMsg) ? response.ErrMsg : response.ErrorMsg)}"); if (response.Json == null) response.Json = JsonConvert.DeserializeObject(response.Body); if (response.Json["jingdong_pop_order_notPayOrderById_responce"] == null) - throw new Exception($"未查询到未付款订单"); + throw new BusinessException($"未查询到未付款订单"); return response.Json; }