docs(order.entity): 更新total字段的ApiProperty描述
This commit is contained in:
parent
e8424afd91
commit
efbd318917
|
|
@ -106,7 +106,7 @@ export class Order {
|
||||||
@Expose()
|
@Expose()
|
||||||
cart_tax: number;
|
cart_tax: number;
|
||||||
|
|
||||||
@ApiProperty()
|
@ApiProperty({ type: "总金额"})
|
||||||
@Column('decimal', { precision: 10, scale: 2, default: 0 })
|
@Column('decimal', { precision: 10, scale: 2, default: 0 })
|
||||||
@Expose()
|
@Expose()
|
||||||
total: number;
|
total: number;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue