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,
Default: Default,
Value: Default,
NeedRestart: NeedRestart,
}
err := store.DB.Create(a).Error