tenant: admin order export csv

This commit is contained in:
2025-12-19 09:11:28 +08:00
parent 549339be74
commit 86a1a0a2cc
9 changed files with 718 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
package dto
// AdminOrderExportResponse 租户管理员订单导出响应CSV 文本)。
type AdminOrderExportResponse struct {
// Filename 建议文件名:前端可用于下载时的默认文件名。
Filename string `json:"filename"`
// ContentType 内容类型:当前固定为 text/csv。
ContentType string `json:"content_type"`
// CSV CSV 文本内容UTF-8 编码,包含表头与数据行;前端可直接下载为文件。
CSV string `json:"csv"`
}