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
hf
9 years ago
Commit
f382ca30bc7377fa561c5455dc81ad560dc19260
1 parent
60f8bdd3
code review by fei.hong: do merge yang.yang and shaofeng.zhou fixes bugs codes
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
library/LibModels/Web/Product/BrandData.php
library/LibModels/Web/Product/SaleData.php
library/LibModels/Web/Product/BrandData.php
View file @
f382ca3
...
...
@@ -67,7 +67,7 @@ class BrandData
*/
public
static
function
getBrandLogo
(
$brandId
)
{
return
Yohobuy
::
yarClient
(
Yohobuy
::
SERVICE_URL
.
self
::
URL_BRAND_LOGO
,
'getBrandByids'
,
array
(
$brandId
));
return
Yohobuy
::
yarClient
(
Yohobuy
::
SERVICE_URL
.
self
::
URL_BRAND_LOGO
,
'getBrandByids'
,
array
(
$brandId
)
,
600
);
}
/**
...
...
@@ -153,6 +153,6 @@ class BrandData
if
(
$isOnlyUrl
)
{
return
Yohobuy
::
httpBuildQuery
(
Yohobuy
::
API_URL
,
$param
);
}
return
Yohobuy
::
get
(
Yohobuy
::
API_URL
,
$param
);
return
Yohobuy
::
get
(
Yohobuy
::
API_URL
,
$param
,
600
);
}
}
...
...
library/LibModels/Web/Product/SaleData.php
View file @
f382ca3
...
...
@@ -20,8 +20,8 @@ class SaleData
* @return array
*/
public
static
function
getSpecial
(
$specialsaleId
)
{
return
Yohobuy
::
yarClient
(
Yohobuy
::
SERVICE_URL
.
self
::
URL_SALE_SPECIAL
,
'getOneSpecial'
,
array
(
$specialsaleId
));
{
return
Yohobuy
::
yarClient
(
Yohobuy
::
SERVICE_URL
.
self
::
URL_SALE_SPECIAL
,
'getOneSpecial'
,
array
(
$specialsaleId
),
600
);
}
}
...
...
Please
register
or
login
to post a comment