Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHO-ACTIVITY-PHP
·
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
Rock Zhang
9 years ago
Commit
d1235b48cb15493fd13ed7857eaf1d5eede25e9c
1 parent
154d92fe
去除品类列表页Kids中的s
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
yohobuy/m.yohobuy.com/application/models/Category/Class.php
yohobuy/m.yohobuy.com/application/models/Category/Class.php
View file @
d1235b4
...
...
@@ -46,7 +46,7 @@ class ClassModel
$oneClass
=
array
();
$item
=
array
();
foreach
(
$data
[
'data'
]
as
$k
=>
$v
)
{
$oneClass
=
array
(
'name'
=>
ucfirst
(
$k
),
'ca'
=>
array
());
$oneClass
=
array
(
'name'
=>
ucfirst
(
rtrim
(
$k
,
's'
)
),
'ca'
=>
array
());
foreach
(
$v
as
$val
)
{
$item
=
array
();
...
...
Please
register
or
login
to post a comment