model/request/saleChance.go
@@ -1,6 +1,8 @@ package request import "aps_crm/proto/code" import ( "aps_crm/model" ) type AddSaleChance struct { SaleChance @@ -37,7 +39,7 @@ Remark string `json:"remark"` DetailAddress string `json:"detail_address"` CodeStandID string `json:"codeStandID"` //编码id CodeRule code.CodeStandard `json:"codeRule"` Products []*model.Product `json:"products" gorm:"many2many:SaleChance_Product;"` Address }