Toggle navigation
Toggle navigation
This project
Loading...
Sign in
wangshusheng
/
YOHOBUYPC
·
Commits
Go to a project
GitLab
Go to dashboard
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
1555435e0ce2951d288c22b09985ec3884f6d988
1 parent
ddf5de0c
fixes bug to guang plusstar data show empty
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
library/LibModels/Wap/Guang/PlusstarData.php
yohobuy/m.yohobuy.com/application/models/Guang/Plusstar.php
library/LibModels/Wap/Guang/PlusstarData.php
View file @
1555435
...
...
@@ -21,7 +21,7 @@ use LibModels\Wap\Product\SearchData;
class
PlusstarData
{
const
URI_BRANDLIST
=
'guang/api/v
1
/plustar/getlist'
;
const
URI_BRANDLIST
=
'guang/api/v
3
/plustar/getlist'
;
const
URI_BRANDINFO_PLUSSTAR
=
'guang/service/v3/plustar/'
;
// 'guang/service/v3/plustar/'
const
URI_BRANDINFO_FAVORITE
=
'shops/service/v1/favorite/'
;
const
URI_BRANDINFO_ARTICLE
=
'guang/service/v1/article/'
;
...
...
@@ -45,19 +45,20 @@ class PlusstarData
// 公共的参数
$param
=
Yohobuy
::
param
();
$param
[
'brand_type'
]
=
'1'
;
$param
[
'gender'
]
=
$gender
;
$param
[
'yh_channel'
]
=
$channel
;
// 构建推荐的品牌参数及调用接口的URL
$build
=
$param
;
$build
[
'is_recommend'
]
=
'1'
;
$build
[
'brand_type'
]
=
'4'
;
//$build['is_recommend'] = '1';
$build
[
'client_secret'
]
=
Sign
::
getSign
(
$build
);
$urlList
[
'recom'
]
=
Yohobuy
::
httpBuildQuery
(
$url
,
$build
);
// 构建所有的品牌参数及调用接口的URL
$build
=
$param
;
$build
[
'is_recommend'
]
=
'0'
;
$build
[
'brand_type'
]
=
'1'
;
//$build['is_recommend'] = '0';
$build
[
'client_secret'
]
=
Sign
::
getSign
(
$build
);
$urlList
[
'all'
]
=
Yohobuy
::
httpBuildQuery
(
$url
,
$build
);
...
...
yohobuy/m.yohobuy.com/application/models/Guang/Plusstar.php
View file @
1555435
Please
register
or
login
to post a comment