diff --git a/business/jxutils/storeskulock/storeskulock.go b/business/jxutils/storeskulock/storeskulock.go index b202fe890..920dfe91a 100644 --- a/business/jxutils/storeskulock/storeskulock.go +++ b/business/jxutils/storeskulock/storeskulock.go @@ -13,6 +13,7 @@ const ( ) func LockJdStoreSku(jdStoreID string, jdSkuID int64, expire time.Time) { + return globals.SugarLogger.Debug(expire, " ", time.Now()) duration := expire.Sub(time.Now()) if duration > 0 { @@ -25,6 +26,7 @@ func UnlockJdStoreSku(jdStoreID string, jdSkuID int64) { } func IsJdStoreSkuLocked(jdStoreID string, jdSkuID int64) bool { + return false return api.Cacher.Get(genCacheKey(jdStoreID, jdSkuID)) != nil }