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
Rock Zhang
9 years ago
Commit
9e4675d1db947e7c006fe3a68c8c5c41a2a05ecb
1 parent
ac934b09
在筛选数据中添加性别
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
library/Plugin/DataProcess/ListProcess.php
library/Plugin/DataProcess/ListProcess.php
View file @
9e4675d
...
...
@@ -61,7 +61,7 @@ class ListProcess
$filters
=
array
(
'classify'
=>
array
());
// 返回数据中有没有gender时要添加gender
//
$data['gender'] = array('2,3'=>'GIRLS','1,3'=>'BOYS');
$data
[
'gender'
]
=
array
(
'2,3'
=>
'GIRLS'
,
'1,3'
=>
'BOYS'
);
$num
=
1
;
foreach
(
$data
as
$key
=>
$val
)
{
...
...
Please
register
or
login
to post a comment