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
2016-01-26 13:11:44 +0800
Commit
ebc0ff04de1b8a952a47c87d7e1f8a9f82122433
1 parent
2d04cd7f
code review by fei.hong: do format category codes
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
0 deletions
yohobuy/m.yohobuy.com/application/models/Category/Class.php
yohobuy/m.yohobuy.com/application/models/Category/Class.php
View file @
ebc0ff0
...
...
@@ -46,6 +46,7 @@ class ClassModel
$genderArr
=
array
(
'boy'
=>
'1,3'
,
'girl'
=>
'2,3'
,
'kids'
=>
'1,2,3'
,
'lifestyle'
=>
'1,2,3'
);
$oneClass
=
array
();
$item
=
array
();
$subitem
=
array
();
foreach
(
$data
[
'data'
]
as
$k
=>
$v
)
{
$oneClass
=
array
(
'name'
=>
ucfirst
(
rtrim
(
$k
,
's'
)),
'ca'
=>
array
());
...
...
Please
register
or
login
to post a comment