From 81eebaeb134dfc45f75ed81565e746783e1efab0 Mon Sep 17 00:00:00 2001 From: xiaodongzhu825 <97694732@qq.com> Date: Thu, 18 Jun 2026 18:01:41 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E4=BA=86ProductBook=E6=A8=A1?= =?UTF-8?q?=E5=9E=8B=E7=9A=84=E5=A4=9A=E4=BD=99=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- models/product_book.go | 1 - 1 file changed, 1 deletion(-) diff --git a/models/product_book.go b/models/product_book.go index 6c711fb..90a39de 100644 --- a/models/product_book.go +++ b/models/product_book.go @@ -37,7 +37,6 @@ type ProductBook struct { SalePrice int64 `json:"sale_price" gorm:"not null;default:0;comment:书价"` Cost int64 `json:"cost" gorm:"not null;default:0;comment:最低运费"` Stock int64 `json:"stock" gorm:"not null;default:0;comment:库存"` - SaleID int64 `json:"sale_id" gorm:"not null;default:0;comment:销售ID"` LiveImage datatypes.JSON `json:"live_image" gorm:"type:json;not null;comment:实拍图json"` IsBatchManaged int8 `json:"is_batch_managed" gorm:"type:tinyint(1);not null;default:0;comment:是否批次管理(0:否,1:是)"` IsShelfLifeManaged int8 `json:"is_shelf_life_managed" gorm:"type:tinyint(1);not null;default:0;comment:是否效期管理(0:否,1:是)"`