...
|
...
|
@@ -128,9 +128,14 @@ class PlusstarData |
|
|
$result['getNewProduct'] = array();
|
|
|
$result['getUidProductFav'] = array();
|
|
|
$result['getArticleByBrand'] = array();
|
|
|
|
|
|
|
|
|
$clientType = 'iphone';
|
|
|
// 客户端类型
|
|
|
$clientType = $isApp ? 'iphone' : 'h5';
|
|
|
if (stristr($_SERVER['HTTP_USER_AGENT'], 'android')) {
|
|
|
$clientType = 'android';
|
|
|
}
|
|
|
$clientType = $isApp ? $clientType : 'h5';
|
|
|
|
|
|
$isUidOk = $uid && is_numeric($uid);
|
|
|
$key = CacheConfig::KEY_ACTION_GUANG_PLUSTAR_DATA . sprintf('_%s_%s_%s', $id, $clientType, $gender);
|
|
|
|
...
|
...
|
|