...
|
...
|
@@ -36,7 +36,8 @@ class NewsaleModel |
|
|
|
|
|
/**
|
|
|
* 获取新品到着的焦点图资源数据
|
|
|
*
|
|
|
*
|
|
|
* @param int $channel
|
|
|
* @return array
|
|
|
*/
|
|
|
public static function getNewFocus($channel)
|
...
|
...
|
@@ -64,7 +65,8 @@ class NewsaleModel |
|
|
|
|
|
/**
|
|
|
* 获取折扣专区的焦点图资源数据
|
|
|
*
|
|
|
*
|
|
|
* @param int $channel
|
|
|
* @return array
|
|
|
*/
|
|
|
public static function getSaleFocus($channel)
|
...
|
...
|
@@ -164,8 +166,8 @@ class NewsaleModel |
|
|
|
|
|
/**
|
|
|
* 顶部焦点图缓存控制
|
|
|
* @param const $cacheKey 缓存常量值
|
|
|
* @param const $codeKey 顶部焦点图位置码
|
|
|
* @param string $cacheKey 缓存常量值
|
|
|
* @param string $codeKey 顶部焦点图位置码
|
|
|
* @return array 焦点图数据
|
|
|
*/
|
|
|
private static function cacheControl($cacheKey, $codeKey)
|
...
|
...
|
|