Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYWAP
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
hf
9 years ago
Commit
2b49780d40746dfa8d581915f9a1cf79f8e79852
1 parent
45bc67e4
code review by fei.hong : fixes bug to modify Helpers.php undifined vars and modify searchd ip
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
library/LibModels/Wap/Guang/DetailData.php
library/LibModels/Wap/Product/SearchData.php
library/LibModels/Wap/Guang/DetailData.php
View file @
2b49780
...
...
@@ -54,7 +54,7 @@ class DetailData
}
// 获取资讯
$article
=
Yohobuy
::
yarClient
(
Yohobuy
::
SERVICE_URL
.
self
::
URI_PACKAGE_ARTICLE
,
'getArticle'
,
array
(
$id
,
$clientType
),
false
);
$article
=
Yohobuy
::
yarClient
(
Yohobuy
::
SERVICE_URL
.
self
::
URI_PACKAGE_ARTICLE
,
'getArticle'
,
array
(
$id
,
$clientType
),
false
,
1500
);
if
(
!
isset
(
$article
[
'author_id'
]))
{
// 再尝试获取二级缓存(slave), 有数据则直接返回.
$cached
=
Cache
::
get
(
$key
,
'slave'
);
...
...
library/LibModels/Wap/Product/SearchData.php
View file @
2b49780
...
...
@@ -35,7 +35,7 @@ class SearchData
case
'test'
:
case
'developer'
:
default
:
return
'http://192.168.10.64:808
0/yohosearch/search.json'
;
return
'http://101.201.178.22
0/yohosearch/search.json'
;
}
}
...
...
Please
register
or
login
to post a comment