From a3b9900dd265ebd2d35b78dd1eb7c4e906d67216 Mon Sep 17 00:00:00 2001 From: liujiandao <274878379@qq.com> Date: 星期五, 22 十二月 2023 14:32:22 +0800 Subject: [PATCH] 系统设置保存修改 --- api/v1/system_set.go | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/api/v1/system_set.go b/api/v1/system_set.go index 4625727..aca1708 100644 --- a/api/v1/system_set.go +++ b/api/v1/system_set.go @@ -49,7 +49,7 @@ return } err := model.WithTransaction(func(db *gorm.DB) error { - err := model.NewSystemSetSearch().SetOrm(db).SetTypes(params.SystemTypes).DeleteAll() + err := model.NewSystemSetSearch().SetOrm(db).DeleteAll() if err != nil { return err } -- Gitblit v1.8.0