format🥚 代码格式化
This commit is contained in:
1 parent
a7cc943b8e
commit
a54d4ba0c1
96 files changed
+143
-151
No files matched your search
@@ -61,7 +61,7 @@ func (s *SysConfigControl) GetId() interface{} {
|
||||
|
||||
// GetSetSysConfigReq 增、改使用的结构体
|
||||
type GetSetSysConfigReq struct {
|
||||
ConfigKey string `json:"configKey" comment:""`
|
||||
ConfigKey string `json:"configKey" comment:""`
|
||||
ConfigValue string `json:"configValue" comment:""`
|
||||
}
|
||||
|
||||
@@ -69,6 +69,7 @@ type GetSetSysConfigReq struct {
|
||||
func (s *GetSetSysConfigReq) Generate(model *models.SysConfig) {
|
||||
model.ConfigValue = s.ConfigValue
|
||||
}
|
||||
|
||||
type UpdateSetSysConfigReq map[string]string
|
||||
|
||||
// SysConfigByKeyReq 根据Key获取配置
|
||||
@@ -98,4 +99,4 @@ func (s *SysConfigById) GetId() interface{} {
|
||||
return s.Ids
|
||||
}
|
||||
return s.Id
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user