|
|
|
@ -7,7 +7,7 @@ func (Service) TableName() string {
|
|
|
|
// Service 结构体表示服务信息
|
|
|
|
// Service 结构体表示服务信息
|
|
|
|
type Service struct {
|
|
|
|
type Service struct {
|
|
|
|
ID int `json:"id"` // 服务ID
|
|
|
|
ID int `json:"id"` // 服务ID
|
|
|
|
Name string `json:"name"` // 服务名称
|
|
|
|
Name string `json:"name"` // 服务名称
|
|
|
|
Image string `json:"image"` // 服务图片
|
|
|
|
Image string `json:"image"` // 服务图片
|
|
|
|
GoodsID int `json:"goods_id"` // 商品ID
|
|
|
|
GoodsID int `json:"goods_id"` // 商品ID
|
|
|
|
Description string `json:"description"` // 服务描述
|
|
|
|
Description string `json:"description"` // 服务描述
|
|
|
|
|