chore: update book enabled status wiring

This commit is contained in:
2026-04-27 11:41:35 +08:00
parent 93bde0a6b6
commit 67c33d06be
25 changed files with 336 additions and 122 deletions

View File

@@ -10,7 +10,7 @@ import (
type BookSeriesService struct{}
func (s *BookSeriesService) CreateBookSeries(item book.BookSeries) error {
return global.GVA_DB.Create(&item).Error
return global.GVA_DB.Save(&item).Error
}
func (s *BookSeriesService) DeleteBookSeries(item book.BookSeries) error {