工单 优化 ,增加图片

This commit is contained in:
chfei committed 2026-10-20 17:03:23 +08:00
1 parent bf5a70597c
commit cf2efbcb16
27 files changed
+3555 -1538

No files matched your search

@@ -1,4 +1,4 @@
using System;
using System;
namespace OrderSupportTicket.Services;
@@ -13,11 +13,13 @@ public sealed class TicketApiException : Exception
public TicketApiException(
int statusCode,
string message,
string responseBody = null)
string responseBody = null,
string errorCode = null)
: base(message)
{
StatusCode = statusCode;
ResponseBody = responseBody;
ErrorCode = errorCode;
}
/// <summary>
@@ -29,4 +31,9 @@ public sealed class TicketApiException : Exception
/// 服务端返回的原始响应正文。
/// </summary>
public string ResponseBody { get; }
}
/// <summary>
/// 服务端返回的错误码,例如 client_api_image_expired。
/// </summary>
public string ErrorCode { get; }
}