From decb7a10ec63bba03914317705ca6df775be02ba Mon Sep 17 00:00:00 2001 From: huang Date: Sat, 11 Apr 2026 12:20:49 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BD=BF=E7=94=A8=E4=B8=93=E7=94=A8?= =?UTF-8?q?=E5=B8=B8=E9=87=8F=20ShelfStatusOn=20=E6=9B=BF=E4=BB=A3=20Statu?= =?UTF-8?q?sEnabled=20=E8=B5=8B=E5=80=BC=20ShelfStatus?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus --- internal/service/shop_series_grant/service.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/service/shop_series_grant/service.go b/internal/service/shop_series_grant/service.go index dc5b031..1e9f05f 100644 --- a/internal/service/shop_series_grant/service.go +++ b/internal/service/shop_series_grant/service.go @@ -340,7 +340,7 @@ func (s *Service) Create(ctx context.Context, req *dto.CreateShopSeriesGrantRequ RetailPrice: pkg.SuggestedRetailPrice, SeriesAllocationID: &allocation.ID, Status: constants.StatusEnabled, - ShelfStatus: constants.StatusEnabled, + ShelfStatus: constants.ShelfStatusOn, } pkgAlloc.Creator = operatorID pkgAlloc.Updater = operatorID @@ -674,7 +674,7 @@ func (s *Service) ManagePackages(ctx context.Context, id uint, req *dto.ManageGr RetailPrice: pkg.SuggestedRetailPrice, SeriesAllocationID: &allocation.ID, Status: constants.StatusEnabled, - ShelfStatus: constants.StatusEnabled, + ShelfStatus: constants.ShelfStatusOn, } pkgAlloc.Creator = operatorID pkgAlloc.Updater = operatorID