Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
RuiPengLoopbackApi
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
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
黄卓然
RuiPengLoopbackApi
Commits
be89ffe5
Commit
be89ffe5
authored
5 years ago
by
余海军
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
老师总数量
parent
d04a6db3
Changes
4
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
452 additions
and
0 deletions
+452
-0
teachers.js
common/models/teachers.js
+5
-0
teachers.json
common/models/teachers.json
+48
-0
RuiPengLoopbackApi.yaml
definitions/RuiPengLoopbackApi.yaml
+395
-0
model-config.json
server/model-config.json
+4
-0
No files found.
common/models/teachers.js
0 → 100644
View file @
be89ffe5
'use strict'
;
module
.
exports
=
function
(
Teachers
)
{
};
This diff is collapsed.
Click to expand it.
common/models/teachers.json
0 → 100644
View file @
be89ffe5
{
"name"
:
"Teachers"
,
"base"
:
"PersistedModel"
,
"idInjection"
:
false
,
"options"
:
{
"validateUpsert"
:
true
},
"mysql"
:
{
"schema"
:
"wordpress"
,
"table"
:
"teachers"
},
"properties"
:
{
"id"
:
{
"type"
:
"String"
,
"required"
:
false
,
"length"
:
36
,
"precision"
:
null
,
"scale"
:
null
,
"mysql"
:
{
"columnName"
:
"id"
,
"dataType"
:
"varchar"
,
"dataLength"
:
36
,
"dataPrecision"
:
null
,
"dataScale"
:
null
,
"nullable"
:
"Y"
}
},
"value"
:
{
"type"
:
"Number"
,
"required"
:
false
,
"length"
:
null
,
"precision"
:
23
,
"scale"
:
null
,
"mysql"
:
{
"columnName"
:
"value"
,
"dataType"
:
"double"
,
"dataLength"
:
null
,
"dataPrecision"
:
23
,
"dataScale"
:
null
,
"nullable"
:
"Y"
}
}
},
"validations"
:
[],
"relations"
:
{},
"acls"
:
[],
"methods"
:
{}
}
This diff is collapsed.
Click to expand it.
definitions/RuiPengLoopbackApi.yaml
View file @
be89ffe5
This diff is collapsed.
Click to expand it.
server/model-config.json
View file @
be89ffe5
...
...
@@ -68,5 +68,9 @@
"Merchant"
:
{
"dataSource"
:
"ruipeng"
,
"public"
:
true
},
"Teachers"
:
{
"dataSource"
:
"ruipeng"
,
"public"
:
true
}
}
This diff is collapsed.
Click to expand it.
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