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
4295d116
Commit
4295d116
authored
5 years ago
by
余海军
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add
parent
a4ad80fb
Changes
12
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
2023 additions
and
66 deletions
+2023
-66
map-beijing.js
common/models/map-beijing.js
+5
-0
map-beijing.json
common/models/map-beijing.json
+2
-2
map-chengdu.js
common/models/map-chengdu.js
+5
-0
map-chengdu.json
common/models/map-chengdu.json
+78
-0
map-guangzhou.js
common/models/map-guangzhou.js
+5
-0
map-guangzhou.json
common/models/map-guangzhou.json
+78
-0
map-shanghai.js
common/models/map-shanghai.js
+5
-0
map-shanghai.json
common/models/map-shanghai.json
+78
-0
map-shenzhen.js
common/models/map-shenzhen.js
+5
-0
map-shenzhen.json
common/models/map-shenzhen.json
+78
-0
RuiPengLoopbackApi.yaml
definitions/RuiPengLoopbackApi.yaml
+1667
-63
model-config.json
server/model-config.json
+17
-1
No files found.
common/models/map-
city
.js
→
common/models/map-
beijing
.js
View file @
4295d116
'use strict'
;
'use strict'
;
module
.
exports
=
function
(
Map
city
)
{
module
.
exports
=
function
(
Map
beijing
)
{
};
};
This diff is collapsed.
Click to expand it.
common/models/map-
city
.json
→
common/models/map-
beijing
.json
View file @
4295d116
{
{
"name"
:
"Map
City
"
,
"name"
:
"Map
Beijing
"
,
"base"
:
"PersistedModel"
,
"base"
:
"PersistedModel"
,
"idInjection"
:
false
,
"idInjection"
:
false
,
"options"
:
{
"options"
:
{
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
},
},
"mysql"
:
{
"mysql"
:
{
"schema"
:
"wordpress"
,
"schema"
:
"wordpress"
,
"table"
:
"map_
city
"
"table"
:
"map_
beijing
"
},
},
"properties"
:
{
"properties"
:
{
"id"
:
{
"id"
:
{
...
...
This diff is collapsed.
Click to expand it.
common/models/map-chengdu.js
0 → 100644
View file @
4295d116
'use strict'
;
module
.
exports
=
function
(
Mapchengdu
)
{
};
This diff is collapsed.
Click to expand it.
common/models/map-chengdu.json
0 → 100644
View file @
4295d116
{
"name"
:
"MapChengdu"
,
"base"
:
"PersistedModel"
,
"idInjection"
:
false
,
"options"
:
{
"validateUpsert"
:
true
},
"mysql"
:
{
"schema"
:
"wordpress"
,
"table"
:
"map_chengdu"
},
"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"
}
},
"city"
:
{
"type"
:
"String"
,
"required"
:
false
,
"length"
:
100
,
"precision"
:
null
,
"scale"
:
null
,
"mysql"
:
{
"columnName"
:
"city"
,
"dataType"
:
"varchar"
,
"dataLength"
:
100
,
"dataPrecision"
:
null
,
"dataScale"
:
null
,
"nullable"
:
"Y"
}
},
"name"
:
{
"type"
:
"String"
,
"required"
:
false
,
"length"
:
100
,
"precision"
:
null
,
"scale"
:
null
,
"mysql"
:
{
"columnName"
:
"name"
,
"dataType"
:
"varchar"
,
"dataLength"
:
100
,
"dataPrecision"
:
null
,
"dataScale"
:
null
,
"nullable"
:
"Y"
}
},
"value"
:
{
"type"
:
"String"
,
"required"
:
false
,
"length"
:
45
,
"precision"
:
null
,
"scale"
:
null
,
"mysql"
:
{
"columnName"
:
"value"
,
"dataType"
:
"varchar"
,
"dataLength"
:
45
,
"dataPrecision"
:
null
,
"dataScale"
:
null
,
"nullable"
:
"Y"
}
}
},
"validations"
:
[],
"relations"
:
{},
"acls"
:
[],
"methods"
:
{}
}
This diff is collapsed.
Click to expand it.
common/models/map-guangzhou.js
0 → 100644
View file @
4295d116
'use strict'
;
module
.
exports
=
function
(
Mapguangzhou
)
{
};
This diff is collapsed.
Click to expand it.
common/models/map-guangzhou.json
0 → 100644
View file @
4295d116
{
"name"
:
"MapGuangzhou"
,
"base"
:
"PersistedModel"
,
"idInjection"
:
false
,
"options"
:
{
"validateUpsert"
:
true
},
"mysql"
:
{
"schema"
:
"wordpress"
,
"table"
:
"map_guangzhou"
},
"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"
}
},
"city"
:
{
"type"
:
"String"
,
"required"
:
false
,
"length"
:
100
,
"precision"
:
null
,
"scale"
:
null
,
"mysql"
:
{
"columnName"
:
"city"
,
"dataType"
:
"varchar"
,
"dataLength"
:
100
,
"dataPrecision"
:
null
,
"dataScale"
:
null
,
"nullable"
:
"Y"
}
},
"name"
:
{
"type"
:
"String"
,
"required"
:
false
,
"length"
:
100
,
"precision"
:
null
,
"scale"
:
null
,
"mysql"
:
{
"columnName"
:
"name"
,
"dataType"
:
"varchar"
,
"dataLength"
:
100
,
"dataPrecision"
:
null
,
"dataScale"
:
null
,
"nullable"
:
"Y"
}
},
"value"
:
{
"type"
:
"String"
,
"required"
:
false
,
"length"
:
45
,
"precision"
:
null
,
"scale"
:
null
,
"mysql"
:
{
"columnName"
:
"value"
,
"dataType"
:
"varchar"
,
"dataLength"
:
45
,
"dataPrecision"
:
null
,
"dataScale"
:
null
,
"nullable"
:
"Y"
}
}
},
"validations"
:
[],
"relations"
:
{},
"acls"
:
[],
"methods"
:
{}
}
This diff is collapsed.
Click to expand it.
common/models/map-shanghai.js
0 → 100644
View file @
4295d116
'use strict'
;
module
.
exports
=
function
(
Mapshanghai
)
{
};
This diff is collapsed.
Click to expand it.
common/models/map-shanghai.json
0 → 100644
View file @
4295d116
{
"name"
:
"MapShanghai"
,
"base"
:
"PersistedModel"
,
"idInjection"
:
false
,
"options"
:
{
"validateUpsert"
:
true
},
"mysql"
:
{
"schema"
:
"wordpress"
,
"table"
:
"map_shanghai"
},
"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"
}
},
"city"
:
{
"type"
:
"String"
,
"required"
:
false
,
"length"
:
100
,
"precision"
:
null
,
"scale"
:
null
,
"mysql"
:
{
"columnName"
:
"city"
,
"dataType"
:
"varchar"
,
"dataLength"
:
100
,
"dataPrecision"
:
null
,
"dataScale"
:
null
,
"nullable"
:
"Y"
}
},
"name"
:
{
"type"
:
"String"
,
"required"
:
false
,
"length"
:
100
,
"precision"
:
null
,
"scale"
:
null
,
"mysql"
:
{
"columnName"
:
"name"
,
"dataType"
:
"varchar"
,
"dataLength"
:
100
,
"dataPrecision"
:
null
,
"dataScale"
:
null
,
"nullable"
:
"Y"
}
},
"value"
:
{
"type"
:
"String"
,
"required"
:
false
,
"length"
:
45
,
"precision"
:
null
,
"scale"
:
null
,
"mysql"
:
{
"columnName"
:
"value"
,
"dataType"
:
"varchar"
,
"dataLength"
:
45
,
"dataPrecision"
:
null
,
"dataScale"
:
null
,
"nullable"
:
"Y"
}
}
},
"validations"
:
[],
"relations"
:
{},
"acls"
:
[],
"methods"
:
{}
}
This diff is collapsed.
Click to expand it.
common/models/map-shenzhen.js
0 → 100644
View file @
4295d116
'use strict'
;
module
.
exports
=
function
(
Mapshenzhen
)
{
};
This diff is collapsed.
Click to expand it.
common/models/map-shenzhen.json
0 → 100644
View file @
4295d116
{
"name"
:
"MapShenzhen"
,
"base"
:
"PersistedModel"
,
"idInjection"
:
false
,
"options"
:
{
"validateUpsert"
:
true
},
"mysql"
:
{
"schema"
:
"wordpress"
,
"table"
:
"map_shenzhen"
},
"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"
}
},
"city"
:
{
"type"
:
"String"
,
"required"
:
false
,
"length"
:
100
,
"precision"
:
null
,
"scale"
:
null
,
"mysql"
:
{
"columnName"
:
"city"
,
"dataType"
:
"varchar"
,
"dataLength"
:
100
,
"dataPrecision"
:
null
,
"dataScale"
:
null
,
"nullable"
:
"Y"
}
},
"name"
:
{
"type"
:
"String"
,
"required"
:
false
,
"length"
:
100
,
"precision"
:
null
,
"scale"
:
null
,
"mysql"
:
{
"columnName"
:
"name"
,
"dataType"
:
"varchar"
,
"dataLength"
:
100
,
"dataPrecision"
:
null
,
"dataScale"
:
null
,
"nullable"
:
"Y"
}
},
"value"
:
{
"type"
:
"String"
,
"required"
:
false
,
"length"
:
45
,
"precision"
:
null
,
"scale"
:
null
,
"mysql"
:
{
"columnName"
:
"value"
,
"dataType"
:
"varchar"
,
"dataLength"
:
45
,
"dataPrecision"
:
null
,
"dataScale"
:
null
,
"nullable"
:
"Y"
}
}
},
"validations"
:
[],
"relations"
:
{},
"acls"
:
[],
"methods"
:
{}
}
This diff is collapsed.
Click to expand it.
definitions/RuiPengLoopbackApi.yaml
View file @
4295d116
This diff is collapsed.
Click to expand it.
server/model-config.json
View file @
4295d116
...
@@ -365,7 +365,23 @@
...
@@ -365,7 +365,23 @@
"dataSource"
:
"ruipeng"
,
"dataSource"
:
"ruipeng"
,
"public"
:
true
"public"
:
true
},
},
"MapCity"
:
{
"MapShanghai"
:
{
"dataSource"
:
"ruipeng"
,
"public"
:
true
},
"MapChengdu"
:
{
"dataSource"
:
"ruipeng"
,
"public"
:
true
},
"MapGuangzhou"
:
{
"dataSource"
:
"ruipeng"
,
"public"
:
true
},
"MapBeijing"
:
{
"dataSource"
:
"ruipeng"
,
"public"
:
true
},
"MapShenzhen"
:
{
"dataSource"
:
"ruipeng"
,
"dataSource"
:
"ruipeng"
,
"public"
:
true
"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