Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
Compass
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zong
Compass
Commits
a992e7a7
Commit
a992e7a7
authored
Jan 09, 2020
by
biao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
1a66a506
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
8 deletions
+1
-8
SchoolType.inc
src/cn/compass/entity/definition/SchoolType.inc
+1
-8
No files found.
src/cn/compass/entity/definition/SchoolType.inc
View file @
a992e7a7
...
...
@@ -29,16 +29,9 @@ class SchoolType
$tmp
=
array
(
"id"
=>
1
,
"title"
=>
"幼儿园"
);
array_push
(
$data
,
$tmp
);
$tmp
=
array
(
"id"
=>
2
,
"title"
=>
"小
学
"
);
$tmp
=
array
(
"id"
=>
2
,
"title"
=>
"小
初高
"
);
array_push
(
$data
,
$tmp
);
$tmp
=
array
(
"id"
=>
3
,
"title"
=>
"初中"
);
array_push
(
$data
,
$tmp
);
$tmp
=
array
(
"id"
=>
4
,
"title"
=>
"高中"
);
array_push
(
$data
,
$tmp
);
$result
=
array
();
foreach
(
$data
as
$row
)
{
$tmp2
=
new
SchoolType
(
$row
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment