服务之间相互调用
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
package dao
|
||||
|
||||
type Cart struct {
|
||||
Id int64 `json:"id" gorm:"id"`
|
||||
Content string `json:"content" gorm:"content"` // 内容
|
||||
StoreId int64 `json:"store_id" gorm:"store_id"` // 门店ID
|
||||
SaleId int64 `json:"sale_id" gorm:"sale_id"` // 销售ID
|
||||
Type bool `json:"type" gorm:"type"` // 类型,1为门店添加,2为销售添加
|
||||
UserId int64 `json:"user_id" gorm:"user_id"` // 用户ID
|
||||
}
|
||||
Reference in New Issue
Block a user