master
Evan Chen 2022-01-09 16:37:12 +08:00
parent 838490e841
commit 03cc592768
1 changed files with 1 additions and 0 deletions

View File

@ -49,6 +49,7 @@ func Add(Key, Name, Description, Default string, NeedRestart bool) error {
Description: Description, Description: Description,
Default: Default, Default: Default,
Value: Default, Value: Default,
NeedRestart: NeedRestart,
} }
err := store.DB.Create(a).Error err := store.DB.Create(a).Error