From dabcce99e8bcad29deed338909d369b2b5691ea3 Mon Sep 17 00:00:00 2001 From: shanj <18996038927@163.com> Date: Mon, 26 Sep 2022 02:33:13 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9C=AA=E4=BB=98=E6=AC=BE=E8=AE=A2=E5=8D=95?= =?UTF-8?q?=E6=8F=90=E7=A4=BA=E4=B8=9A=E5=8A=A1=E5=BC=82=E5=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- BBWY.Server.Business/PlatformSDK/JDBusiness.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; }