From 7bb43998449a3cc322af30076cf45ab0daeaae6b Mon Sep 17 00:00:00 2001 From: timerzz Date: Tue, 27 Aug 2024 17:47:45 +0800 Subject: [PATCH] =?UTF-8?q?feat=20seller=E5=92=8Cprovider=E5=A4=87?= =?UTF-8?q?=E6=B3=A8=E6=94=B9=E4=B8=BAremark?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- structs/v2/provider.go | 2 +- structs/v2/seller.go | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/structs/v2/provider.go b/structs/v2/provider.go index 6a6066e..a1f464d 100644 --- a/structs/v2/provider.go +++ b/structs/v2/provider.go @@ -19,7 +19,7 @@ type Provider struct { //计算过程 CalculateProcess []CalculateProcess `json:"calculateProcess" gorm:"polymorphicType:Kind;polymorphicId:OwnerID;polymorphicValue:provider"` // 备注 - Mark string `json:"mark,omitempty"` + Remark string `json:"remark,omitempty"` } type ProviderOption struct { diff --git a/structs/v2/seller.go b/structs/v2/seller.go index a2cf613..8873a98 100644 --- a/structs/v2/seller.go +++ b/structs/v2/seller.go @@ -19,6 +19,8 @@ type Seller struct { Config SellerOption `gorm:"type:json;serializer:json" json:"config"` //计算过程 CalculateProcess []CalculateProcess `json:"calculateProcess" gorm:"polymorphicType:Kind;polymorphicId:OwnerID;polymorphicValue:seller"` + // 备注 + Remark string `json:"remark,omitempty"` } type SellerOption struct {