- debug fakeboss token added.

This commit is contained in:
gazebo
2018-12-20 17:30:43 +08:00
parent 53cdf5bb84
commit 0750f831c4

View File

@@ -866,7 +866,7 @@ func CopyStoreSkus(ctx *jxcontext.Context, fromStoreID, toStoreID int, copyMode
}
func shouldPendingStorePriceChange(ctx *jxcontext.Context, storeID int, skuBindInfo *StoreSkuBindInfo) bool {
return globals.EnablePendingChange && ctx.GetLoginType() == weixin.LoginType
return globals.EnablePendingChange && (ctx.GetLoginType() == weixin.LoginType || ctx.GetUserName() == "fakeboss")
}
func filterStorePriceChange(ctx *jxcontext.Context, storeIDs []int, skuBindInfos []*StoreSkuBindInfo) (filteredStoreIDs []int, filteredSkuBindInfos []*StoreSkuBindInfo, err error) {