- debug fakeboss token added.
This commit is contained in:
@@ -866,7 +866,7 @@ func CopyStoreSkus(ctx *jxcontext.Context, fromStoreID, toStoreID int, copyMode
|
|||||||
}
|
}
|
||||||
|
|
||||||
func shouldPendingStorePriceChange(ctx *jxcontext.Context, storeID int, skuBindInfo *StoreSkuBindInfo) bool {
|
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) {
|
func filterStorePriceChange(ctx *jxcontext.Context, storeIDs []int, skuBindInfos []*StoreSkuBindInfo) (filteredStoreIDs []int, filteredSkuBindInfos []*StoreSkuBindInfo, err error) {
|
||||||
|
|||||||
Reference in New Issue
Block a user