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
62ce85ebe5d048cdd28a1a697e8c20b6093a2450
1 parent
ec81b6a0
do modify libmodels filename suffix
Hide whitespace changes
Inline
Side-by-side
Showing
22 changed files
with
7 additions
and
4 deletions
library/Api/Yohobuy.php
library/LibModels/Wap/Category/BrandModel.php → library/LibModels/Wap/Category/BrandData.php
library/LibModels/Wap/Category/ClassModel.php → library/LibModels/Wap/Category/ClassData.php
library/LibModels/Wap/Category/FocusModel.php → library/LibModels/Wap/Category/FocusData.php
library/LibModels/Wap/Channel/NewsaleModel.php → library/LibModels/Wap/Channel/NewsaleData.php
library/LibModels/Wap/Channel/PlusstarModel.php → library/LibModels/Wap/Channel/PlusstarData.php
library/LibModels/Wap/Guang/DetailModel.php → library/LibModels/Wap/Guang/DetailData.php
library/LibModels/Wap/Guang/ListModel.php → library/LibModels/Wap/Guang/ListData.php
library/LibModels/Wap/Home/BoysModel.php → library/LibModels/Wap/Home/BoysData.php
library/LibModels/Wap/Home/GirlsModel.php → library/LibModels/Wap/Home/GirlsData.php
library/LibModels/Wap/Home/IndexModel.php → library/LibModels/Wap/Home/IndexData.php
library/LibModels/Wap/Home/KidsModel.php → library/LibModels/Wap/Home/KidsData.php
library/LibModels/Wap/Home/LifestyleModel.php → library/LibModels/Wap/Home/LifestyleData.php
library/LibModels/Wap/Passport/BackModel.php → library/LibModels/Wap/Passport/BackData.php
library/LibModels/Wap/Passport/LoginModel.php → library/LibModels/Wap/Passport/LoginData.php
library/LibModels/Wap/Passport/RegModel.php → library/LibModels/Wap/Passport/RegData.php
library/LibModels/Wap/Product/DetailModel.php → library/LibModels/Wap/Product/DetailData.php
library/LibModels/Wap/Product/ListModel.php → library/LibModels/Wap/Product/ListData.php
library/LibModels/Wap/Product/RecomModel.php → library/LibModels/Wap/Product/RecomData.php
library/LibModels/Wap/Product/SearchModel.php → library/LibModels/Wap/Product/SearchData.php
library/LibModels/Wap/Product/ShopModel.php → library/LibModels/Wap/Product/ShopData.php
yohobuy/m.yohobuy.com/application/controllers/Index.php
library/Api/Yohobuy.php
View file @
62ce85e
...
...
@@ -57,7 +57,7 @@ class Yohobuy
$param
=
array
(
'app_version'
=>
'3.6'
,
'client_type'
=>
$clientType
,
'os_version'
=>
'
yohobuy:h5
'
,
'os_version'
=>
'
android4.4.4:ASUS_X002
'
,
'private_key'
=>
self
::
$privateKeyList
[
$clientType
],
'screen_size'
=>
'720x1280'
,
'v'
=>
'6'
,
...
...
@@ -96,8 +96,9 @@ class Yohobuy
unset
(
$data
[
'private_key'
]);
}
if
(
!
empty
(
$data
))
{
$url
.
=
self
::
httpBuildQuery
(
$url
,
$data
);
$url
=
self
::
httpBuildQuery
(
$url
,
$data
);
}
echo
$url
;
$ch
=
curl_init
(
$url
);
curl_setopt
(
$ch
,
CURLOPT_HEADER
,
0
);
...
...
library/LibModels/Wap/Category/Brand
Model
.php → library/LibModels/Wap/Category/Brand
Data
.php
View file @
62ce85e
library/LibModels/Wap/Category/Class
Model
.php → library/LibModels/Wap/Category/Class
Data
.php
View file @
62ce85e
library/LibModels/Wap/Category/Focus
Model
.php → library/LibModels/Wap/Category/Focus
Data
.php
View file @
62ce85e
library/LibModels/Wap/Channel/Newsale
Model
.php → library/LibModels/Wap/Channel/Newsale
Data
.php
View file @
62ce85e
library/LibModels/Wap/Channel/Plusstar
Model
.php → library/LibModels/Wap/Channel/Plusstar
Data
.php
View file @
62ce85e
library/LibModels/Wap/Guang/Detail
Model
.php → library/LibModels/Wap/Guang/Detail
Data
.php
View file @
62ce85e
library/LibModels/Wap/Guang/List
Model
.php → library/LibModels/Wap/Guang/List
Data
.php
View file @
62ce85e
library/LibModels/Wap/Home/Boys
Model
.php → library/LibModels/Wap/Home/Boys
Data
.php
View file @
62ce85e
library/LibModels/Wap/Home/Girls
Model
.php → library/LibModels/Wap/Home/Girls
Data
.php
View file @
62ce85e
library/LibModels/Wap/Home/Index
Model
.php → library/LibModels/Wap/Home/Index
Data
.php
View file @
62ce85e
library/LibModels/Wap/Home/Kids
Model
.php → library/LibModels/Wap/Home/Kids
Data
.php
View file @
62ce85e
library/LibModels/Wap/Home/Lifestyle
Model
.php → library/LibModels/Wap/Home/Lifestyle
Data
.php
View file @
62ce85e
library/LibModels/Wap/Passport/Back
Model
.php → library/LibModels/Wap/Passport/Back
Data
.php
View file @
62ce85e
library/LibModels/Wap/Passport/Login
Model
.php → library/LibModels/Wap/Passport/Login
Data
.php
View file @
62ce85e
library/LibModels/Wap/Passport/Reg
Model
.php → library/LibModels/Wap/Passport/Reg
Data
.php
View file @
62ce85e
library/LibModels/Wap/Product/Detail
Model
.php → library/LibModels/Wap/Product/Detail
Data
.php
View file @
62ce85e
library/LibModels/Wap/Product/List
Model
.php → library/LibModels/Wap/Product/List
Data
.php
View file @
62ce85e
library/LibModels/Wap/Product/Recom
Model
.php → library/LibModels/Wap/Product/Recom
Data
.php
View file @
62ce85e
...
...
@@ -13,7 +13,7 @@ use Api\Yohobuy;
* @version 1.0 (2015-10-8 11:51:32)
* @author fei.hong <fei.hong@yoho.cn>
*/
class
Recom
Model
class
Recom
Data
{
/**
* 你可能喜欢的商品列表
...
...
@@ -32,7 +32,7 @@ class RecomModel
$param
[
'page'
]
=
$page
;
$param
[
'limit'
]
=
$limit
;
$param
[
'yh_channel'
]
=
$channel
;
$param
[
'client_secret'
]
=
Sign
::
make
Sign
(
$param
);
$param
[
'client_secret'
]
=
Sign
::
get
Sign
(
$param
);
return
Yohobuy
::
get
(
Yohobuy
::
API_URL
,
$param
);
}
...
...
library/LibModels/Wap/Product/Search
Model
.php → library/LibModels/Wap/Product/Search
Data
.php
View file @
62ce85e
library/LibModels/Wap/Product/Shop
Model
.php → library/LibModels/Wap/Product/Shop
Data
.php
View file @
62ce85e
yohobuy/m.yohobuy.com/application/controllers/Index.php
View file @
62ce85e
<?php
use
Action\AbstractAction
;
use
LibModels\Wap\Product\RecomData
;
/**
* 频道选择
*/
...
...
Please
register
or
login
to post a comment