Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYPC
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
2
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
whb
9 years ago
Commit
68db7eb47c7bd153f15f05aca83ae7817128e1c1
1 parent
5a554a87
预生产资源位
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
3 deletions
library/LibModels/Web/Product/SearchData.php
yohobuy/www.yohobuy.com/application/models/Index/Home.php
library/LibModels/Web/Product/SearchData.php
View file @
68db7eb
...
...
@@ -76,7 +76,7 @@ class SearchData extends \LibModels\Wap\Product\SearchData
return
'http://182.92.99.119:8080/yohosearch/suggest.json'
;
}
else
if
(
$type
==
'new-shelve'
)
{
return
'http://182.92.99.119:8080/yohosearch/new-shelve.json'
;
return
'http://182.92.99.119:8080/yohosearch/new-shelve.json'
;
//
'http://182.92.99.119:8080/yohosearch/new-shelve.json';
}
elseif
(
$type
==
'shop'
)
{
//return 'http://101.200.31.165/yohosearch/shops.json';
...
...
yohobuy/www.yohobuy.com/application/models/Index/Home.php
View file @
68db7eb
...
...
@@ -33,6 +33,12 @@ class HomeModel
/* COOKIE标识访问的是创意生活频道 */
const
COOKIE_NAME_LIFESTYLE
=
'lifestyle'
;
//release: test:
//boys:79372627eee75d73afe7f9bac91e5ce6, c15bf0cbfbd4893fd70c869c991f6d3d
//girls: 75215008957605c05e8cd375eac4f817, a519ba44ef3a85cf3c05e405c6ba8e53
//kids:d71f4b27f2a7229fbb31a4bc490a6f36,a7741b94e8bb9d56d0d36e00c05956f7
//lifestyle:8a341ca7eacc069ba80f02dec80eaf34,1b053fd044834f5c86d5eb15fb237af9
// 男首首页
const
CODE_BOYS_CHANNEL
=
'79372627eee75d73afe7f9bac91e5ce6'
;
//'c15bf0cbfbd4893fd70c869c991f6d3d';
// 女首首页
...
...
@@ -42,7 +48,7 @@ class HomeModel
const
CODE_KIDS_CHANNEL
=
'd71f4b27f2a7229fbb31a4bc490a6f36'
;
//'a7741b94e8bb9d56d0d36e00c05956f7';
// 创意生活新
const
CODE_LIFESTYLE_CHANNEL
=
'8a341ca7eacc069ba80f02dec80eaf34'
;
//'
1b053fd044834f5c86d5eb15fb237af9
';
const
CODE_LIFESTYLE_CHANNEL
=
'8a341ca7eacc069ba80f02dec80eaf34'
;
//'
8a341ca7eacc069ba80f02dec80eaf34
';
// 创意生活
const
CODE_LIFESTYLE_CHANNEL_1
=
'380c38155fd8beee10913a3f5b462da6'
;
...
...
@@ -248,7 +254,7 @@ class HomeModel
{
$key
=
WebCacheConfig
::
KEY_WEB_HOME_CHANNEL_NEWARRIVAL_DATA
.
'_'
.
$channel
;
//缓存数据
$result
=
Cache
::
get
(
$key
);
$result
=
''
;
//
Cache::get($key);
if
(
empty
(
$result
))
{
$params
=
array
(
'order'
=>
's_t_desc'
,
...
...
Please
register
or
login
to post a comment