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
周少峰
8 years ago
Commit
e9229a023cb5145de94d87f2650cb7a3b77027c7
1 parent
0185de64
default val
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
library/WebPlugin/HelperHome.php
yohobuy/www.yohobuy.com/application/models/Home/Index.php
library/WebPlugin/HelperHome.php
View file @
e9229a0
...
...
@@ -46,7 +46,7 @@ class HelperHome
* @param $product
* @return array
*/
public
static
function
formatNew
(
$product
,
$size
)
public
static
function
formatNew
(
$product
,
$size
=
array
()
)
{
$result
=
array
();
foreach
(
$product
as
$key
=>
$val
)
{
...
...
yohobuy/www.yohobuy.com/application/models/Home/Index.php
View file @
e9229a0
...
...
@@ -85,7 +85,7 @@ class IndexModel
* @param $size 图片尺寸
* @return array
*/
public
static
function
preferenceData
(
$channel
,
$uid
,
$udid
,
$recPos
,
$limit
,
$size
)
public
static
function
preferenceData
(
$channel
,
$uid
,
$udid
,
$recPos
,
$limit
,
$size
=
array
()
)
{
$response
=
UserData
::
newPreference
(
$channel
,
$uid
,
$udid
,
$recPos
,
$limit
);
if
(
$response
[
'code'
]
===
200
)
{
...
...
Please
register
or
login
to post a comment