package request import "wms/constvar" type SystemConfig struct { ID uint `json:"ID"` ConfigType constvar.SystemConfigType `json:"configType" gorm:"type:int;not null"` //1 每月库存结算时间点 Name string `json:"name" gorm:"index;type:varchar(255);not null;default:'';comment:设置名"` //设置名称 Val string `json:"val" gorm:"index;type:varchar(255);not null;comment:设置值"` //设置值 } type GetSystemConfig struct { ConfigType constvar.SystemConfigType `form:"configType" binding:"required"` //1 每月库存结算时间点 }