|
|
@@ -49,9 +49,9 @@ class Store extends StoreModel
|
|
|
public function getChoiceLists($is_check = null, $longitude = '', $latitude = '', $limit = false, $shop_supplier_id = 0)
|
|
|
{
|
|
|
$cacheKey = "caches:stores:{$shop_supplier_id}_".intval($limit).'_'.md5("{$is_check}_{$latitude}_{$longitude}");
|
|
|
- if($list = \think\facade\Cache::get($cacheKey)){
|
|
|
- return $list;
|
|
|
- }
|
|
|
+// if($list = \think\facade\Cache::get($cacheKey)){
|
|
|
+// return $list;
|
|
|
+// }
|
|
|
|
|
|
$model = $this;
|
|
|
// 是否支持自提核销
|
|
|
@@ -99,7 +99,7 @@ class Store extends StoreModel
|
|
|
});
|
|
|
|
|
|
if($list){
|
|
|
- \think\facade\Cache::tag('cache')->set($cacheKey, $list, rand(5, 10));
|
|
|
+ //\think\facade\Cache::tag('cache')->set($cacheKey, $list, rand(5, 10));
|
|
|
}
|
|
|
|
|
|
return $list;
|