admin/src/Oms.Application/Integrations/Itfx/IItfxForwardClient.cs
zzh a70f6f2a87 feat: 接入 9610 汇总申报,字段按业务含义命名并对齐运单
含清单/报关单拉取、ITFX 转发配置、迁移脚本与拣货单号扩展。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-30 17:46:04 +08:00

36 lines
964 B
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 Oms.Application.Integrations.Itfx;
public sealed class ItfxForwardResult
{
public bool Success { get; set; }
public string Url { get; set; } = string.Empty;
public string RequestJson { get; set; } = string.Empty;
public int? StatusCode { get; set; }
public string ResponseBody { get; set; } = string.Empty;
}
public interface IItfxForwardClient
{
Task<ItfxForwardResult> ForwardCreateOrderOneAsync(
string supplierCode,
string appKey,
string appSecret,
object body,
CancellationToken cancellationToken = default);
/// <summary>
/// 通用 ForwardWithSubscribe(standardCode 可配,如 9610 申报暂定码)。
/// </summary>
Task<ItfxForwardResult> ForwardWithSubscribeAsync(
string standardCode,
string supplierCode,
string appKey,
string appSecret,
object body,
CancellationToken cancellationToken = default);
}