package request import "wms/constvar" type MiniDict struct { Name string `json:"name"` // 名称 Value string `json:"value"` // 值 IsDefault bool `json:"isDefault"` // 是否默认 } type AddMiniDict struct { MiniDict Type constvar.MiniDictType `json:"type"` // 字典类型 } type EditMiniDict struct { MiniDict ID int `json:"id"` // 字典类型 Type constvar.MiniDictType `json:"type"` // 字典类型 } type SaveMiniDict struct { Type constvar.MiniDictType `json:"type"` // 字典类型 List []*MiniDict `json:"list"` } type GetMiniDict struct { Type constvar.MiniDictType `json:"type"` // 字典类型 Name string `json:"name"` // 字典名称 } type GetMiniDictList struct { Type constvar.MiniDictType `json:"type"` // 字典类型 }