From 411f3867b6d539d1b84dc80049869c19f7067ea0 Mon Sep 17 00:00:00 2001 From: tikkhun Date: Fri, 23 Jan 2026 17:32:51 +0800 Subject: [PATCH] =?UTF-8?q?docs(order.entity):=20=E6=9B=B4=E6=96=B0total?= =?UTF-8?q?=E5=AD=97=E6=AE=B5=E7=9A=84ApiProperty=E6=8F=8F=E8=BF=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/entity/order.entity.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/entity/order.entity.ts b/src/entity/order.entity.ts index d4f1cbb..8fe050c 100644 --- a/src/entity/order.entity.ts +++ b/src/entity/order.entity.ts @@ -106,7 +106,7 @@ export class Order { @Expose() cart_tax: number; - @ApiProperty() + @ApiProperty({ type: "总金额"}) @Column('decimal', { precision: 10, scale: 2, default: 0 }) @Expose() total: number;