itfx/src/InterfaceForward.Application.Contracts/ForwardCore/RequestServiceProviderFailedEvent.cs
2024-12-20 10:55:59 +08:00

44 lines
1.1 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

namespace InterfaceForward.Application.Contracts;
public class RequestServiceProviderFailedEvent
{
/// <summary>
/// 附加数据
/// </summary>
public string Attach { get; set; }
/// <summary>
/// 如果为false代表可能是接口通业务逻辑失败400或者接口通异常500
/// </summary>
public bool IsRequestServiceProviderFailed { get; set; }
/// <summary>
/// 系统接口名称
/// </summary>
public string SystemInterfaceName { get; set; }
/// <summary>
/// 目标服务商名称
/// </summary>
public string ServiceProviderName { get; set; }
/// <summary>
/// 目标服务商接口名称
/// </summary>
public string ServiceProviderInterfaceName { get; set; }
/// <summary>
/// 系统接口传参
/// </summary>
public string SystemInterfacePayload { get; set; }
/// <summary>
/// 接口通提示的错误消息
/// </summary>
public string ErrorMessage { get; set; }
/// <summary>
/// 服务商返回的响应结果
/// </summary>
public string ServiceProviderResponse { get; set; }
}