支持模板预览/字段字典、产品绑定 LabelTemplateId、订单 Pending→Ready 生成 PDF,以及 order/print、批量与仓内 printUrl。 Co-authored-by: Cursor <cursoragent@cursor.com>
13 lines
345 B
C#
13 lines
345 B
C#
namespace Oms.Application.Labeling;
|
||
|
||
/// <summary>
|
||
/// 面单 PDF 渲染器:TemplateJson + PrintData → PDF bytes。
|
||
/// </summary>
|
||
public interface ILabelPdfRenderer
|
||
{
|
||
Task<byte[]> RenderAsync(
|
||
string templateJson,
|
||
IReadOnlyDictionary<string, object?> printData,
|
||
CancellationToken cancellationToken = default);
|
||
}
|