package model import "github.com/gogf/gf/v2/frame/g" type StoreDesktopSettings struct { g.Meta `orm:"table:store_desktop_settings"` StoreId int64 `json:"storeId" orm:"store_id" description:""` // TopComponentVisible int `json:"topComponentVisible" orm:"top_component_visible" description:"1显示,2 隐藏"` // 1显示,2 隐藏 RightComponentVisible int `json:"rightComponentVisible" orm:"right_component_visible" description:"1显示,2 隐藏"` // 1显示,2 隐藏 } type StoreGetDesktopSettingIn struct { OperatorId int64 OperatorRole string StoreId int64 } type StoreGetDesktopSettingOut struct { StoreDesktopSettings } type SaveDesktopSettingIn struct { StoreId int64 `json:"storeId"` TopComponentVisible int `json:"topComponentVisible"` // 1显示,2 隐藏 RightComponentVisible int `json:"rightComponentVisible"` // 1显示,2 隐藏 } type SaveDesktopSettingOut struct { Success bool }