From 11fc8edf6feb4f2805fe9ca173c445f9515c5bf7 Mon Sep 17 00:00:00 2001 From: gazebo Date: Sun, 30 Sep 2018 10:24:55 +0800 Subject: [PATCH] - focus store sku, update existing sku status. --- business/jxstore/cms/store_sku.go | 1 + 1 file changed, 1 insertion(+) diff --git a/business/jxstore/cms/store_sku.go b/business/jxstore/cms/store_sku.go index 44fe07017..1eb4e077a 100644 --- a/business/jxstore/cms/store_sku.go +++ b/business/jxstore/cms/store_sku.go @@ -303,6 +303,7 @@ func UpdateStoreSkus(storeID int, skuBindInfos []*StoreSkuBindInfo, userName str } else { needUpdate := false if skuBindInfo.IsFocus == 1 { + skuBind.Status = model.StoreSkuBindStatusDontSale // 缺省不可售? skuBind.DeletedAt = utils.DefaultTimeValue needUpdate = true }