refactor🎨 部分功能重写
This commit is contained in:
1 parent
765775c54d
commit
408dcc5057
28 files changed
+649
-982
No files matched your search
@@ -66,6 +66,10 @@ func (s *SysSettingById) Generate() *SysSettingById {
|
||||
}
|
||||
|
||||
func (s *SysSettingById) GetId() interface{} {
|
||||
if len(s.Ids) > 0 {
|
||||
s.Ids = append(s.Ids, s.Id)
|
||||
return s.Ids
|
||||
}
|
||||
return s.Id
|
||||
}
|
||||
|
||||
@@ -85,4 +89,4 @@ func (s *SysSettingById) Bind(ctx *gin.Context) error {
|
||||
|
||||
func (s *SysSettingById) GenerateM() (*models.SysSetting, error) {
|
||||
return &models.SysSetting{}, nil
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user