tenant: admin order export csv
This commit is contained in:
13
backend/app/http/tenant/dto/order_admin_export.go
Normal file
13
backend/app/http/tenant/dto/order_admin_export.go
Normal 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"`
|
||||
}
|
||||
Reference in New Issue
Block a user