From d2a05614b282bd744bdf8e1017b2f92e2dc03b38 Mon Sep 17 00:00:00 2001 From: gazebo Date: Sat, 29 Dec 2018 09:34:38 +0800 Subject: [PATCH] - fix bug in shouldPendingStorePriceChange(weixin.LoginTypeMiniProgram) --- business/jxstore/cms/store_sku.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/business/jxstore/cms/store_sku.go b/business/jxstore/cms/store_sku.go index 166811d00..9c8c16472 100644 --- a/business/jxstore/cms/store_sku.go +++ b/business/jxstore/cms/store_sku.go @@ -905,7 +905,7 @@ func CopyStoreSkus(ctx *jxcontext.Context, fromStoreID, toStoreID int, copyMode func shouldPendingStorePriceChange(ctx *jxcontext.Context, storeID int, skuBindInfo *StoreSkuBindInfo) (shouldPending bool, err error) { if globals.EnablePendingChange { - if skuBindInfo.IsFocus != 1 && (ctx.GetLoginType() == weixin.LoginType || ctx.GetUserName() == "fakeboss") { + if skuBindInfo.IsFocus != 1 && (ctx.GetLoginType() == weixin.LoginType || ctx.GetLoginType() == weixin.LoginTypeMiniProgram || ctx.GetUserName() == "fakeboss") { db := dao.GetDB() store := &model.Store{} store.ID = storeID