package goods func (Service) TableName() string { return "service" } // Service 结构体表示服务信息 type Service struct { ID int64 `json:"id"` // 服务ID Name string `json:"name"` // 服务名称 Image string `json:"image"` // 服务图片 Description string `json:"description"` // 服务描述 }