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
7a28e506
Commit
7a28e506
authored
5 years ago
by
余海军
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add
parent
3b8246bc
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
976 additions
and
0 deletions
+976
-0
another-order.js
common/models/another-order.js
+5
-0
another-order.json
common/models/another-order.json
+78
-0
another-revenue.js
common/models/another-revenue.js
+5
-0
another-revenue.json
common/models/another-revenue.json
+78
-0
RuiPengLoopbackApi.yaml
definitions/RuiPengLoopbackApi.yaml
+802
-0
model-config.json
server/model-config.json
+8
-0
No files found.
common/models/another-order.js
0 → 100644
View file @
7a28e506
'use strict'
;
module
.
exports
=
function
(
Anotherorder
)
{
};
This diff is collapsed.
Click to expand it.
common/models/another-order.json
0 → 100644
View file @
7a28e506
{
"name"
:
"AnotherOrder"
,
"base"
:
"PersistedModel"
,
"idInjection"
:
false
,
"options"
:
{
"validateUpsert"
:
true
},
"mysql"
:
{
"schema"
:
"wordpress"
,
"table"
:
"another_order"
},
"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"
}
},
"name"
:
{
"type"
:
"String"
,
"required"
:
false
,
"length"
:
3
,
"precision"
:
null
,
"scale"
:
null
,
"mysql"
:
{
"columnName"
:
"name"
,
"dataType"
:
"varchar"
,
"dataLength"
:
3
,
"dataPrecision"
:
null
,
"dataScale"
:
null
,
"nullable"
:
"Y"
}
},
"value1"
:
{
"type"
:
"Number"
,
"required"
:
false
,
"length"
:
null
,
"precision"
:
32
,
"scale"
:
0
,
"mysql"
:
{
"columnName"
:
"value1"
,
"dataType"
:
"decimal"
,
"dataLength"
:
null
,
"dataPrecision"
:
32
,
"dataScale"
:
0
,
"nullable"
:
"Y"
}
},
"value2"
:
{
"type"
:
"Number"
,
"required"
:
false
,
"length"
:
null
,
"precision"
:
32
,
"scale"
:
0
,
"mysql"
:
{
"columnName"
:
"value2"
,
"dataType"
:
"decimal"
,
"dataLength"
:
null
,
"dataPrecision"
:
32
,
"dataScale"
:
0
,
"nullable"
:
"Y"
}
}
},
"validations"
:
[],
"relations"
:
{},
"acls"
:
[],
"methods"
:
{}
}
This diff is collapsed.
Click to expand it.
common/models/another-revenue.js
0 → 100644
View file @
7a28e506
'use strict'
;
module
.
exports
=
function
(
Anotherrevenue
)
{
};
This diff is collapsed.
Click to expand it.
common/models/another-revenue.json
0 → 100644
View file @
7a28e506
{
"name"
:
"AnotherRevenue"
,
"base"
:
"PersistedModel"
,
"idInjection"
:
false
,
"options"
:
{
"validateUpsert"
:
true
},
"mysql"
:
{
"schema"
:
"wordpress"
,
"table"
:
"another_revenue"
},
"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"
}
},
"name"
:
{
"type"
:
"String"
,
"required"
:
false
,
"length"
:
3
,
"precision"
:
null
,
"scale"
:
null
,
"mysql"
:
{
"columnName"
:
"name"
,
"dataType"
:
"varchar"
,
"dataLength"
:
3
,
"dataPrecision"
:
null
,
"dataScale"
:
null
,
"nullable"
:
"Y"
}
},
"value1"
:
{
"type"
:
"Number"
,
"required"
:
false
,
"length"
:
null
,
"precision"
:
32
,
"scale"
:
0
,
"mysql"
:
{
"columnName"
:
"value1"
,
"dataType"
:
"decimal"
,
"dataLength"
:
null
,
"dataPrecision"
:
32
,
"dataScale"
:
0
,
"nullable"
:
"Y"
}
},
"value2"
:
{
"type"
:
"Number"
,
"required"
:
false
,
"length"
:
null
,
"precision"
:
32
,
"scale"
:
0
,
"mysql"
:
{
"columnName"
:
"value2"
,
"dataType"
:
"decimal"
,
"dataLength"
:
null
,
"dataPrecision"
:
32
,
"dataScale"
:
0
,
"nullable"
:
"Y"
}
}
},
"validations"
:
[],
"relations"
:
{},
"acls"
:
[],
"methods"
:
{}
}
This diff is collapsed.
Click to expand it.
definitions/RuiPengLoopbackApi.yaml
View file @
7a28e506
This diff is collapsed.
Click to expand it.
server/model-config.json
View file @
7a28e506
...
...
@@ -684,5 +684,13 @@
"BillTotalrevenue"
:
{
"dataSource"
:
"ruipeng"
,
"public"
:
true
},
"AnotherOrder"
:
{
"dataSource"
:
"ruipeng"
,
"public"
:
true
},
"AnotherRevenue"
:
{
"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