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
67df4d58
Commit
67df4d58
authored
5 years ago
by
余海军
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add
parent
1d97c292
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
400 additions
and
0 deletions
+400
-0
another-forteachers.js
common/models/another-forteachers.js
+5
-0
another-forteachers.json
common/models/another-forteachers.json
+108
-0
another-teacher.js
common/models/another-teacher.js
+5
-0
another-teacher.json
common/models/another-teacher.json
+108
-0
warehousing-category.js
common/models/warehousing-category.js
+5
-0
warehousing-category.json
common/models/warehousing-category.json
+78
-0
warehousing-shop.js
common/models/warehousing-shop.js
+5
-0
warehousing-shop.json
common/models/warehousing-shop.json
+78
-0
model-config.json
server/model-config.json
+8
-0
No files found.
common/models/another-forteachers.js
0 → 100644
View file @
67df4d58
'use strict'
;
module
.
exports
=
function
(
Anotherforteachers
)
{
};
This diff is collapsed.
Click to expand it.
common/models/another-forteachers.json
0 → 100644
View file @
67df4d58
{
"name"
:
"AnotherForteachers"
,
"base"
:
"PersistedModel"
,
"idInjection"
:
false
,
"options"
:
{
"validateUpsert"
:
true
},
"mysql"
:
{
"schema"
:
"wordpress"
,
"table"
:
"another_forteachers"
},
"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"
:
65535
,
"precision"
:
null
,
"scale"
:
null
,
"mysql"
:
{
"columnName"
:
"name"
,
"dataType"
:
"text"
,
"dataLength"
:
65535
,
"dataPrecision"
:
null
,
"dataScale"
:
null
,
"nullable"
:
"Y"
}
},
"post"
:
{
"type"
:
"String"
,
"required"
:
false
,
"length"
:
65535
,
"precision"
:
null
,
"scale"
:
null
,
"mysql"
:
{
"columnName"
:
"post"
,
"dataType"
:
"text"
,
"dataLength"
:
65535
,
"dataPrecision"
:
null
,
"dataScale"
:
null
,
"nullable"
:
"Y"
}
},
"intro"
:
{
"type"
:
"String"
,
"required"
:
false
,
"length"
:
4294967295
,
"precision"
:
null
,
"scale"
:
null
,
"mysql"
:
{
"columnName"
:
"intro"
,
"dataType"
:
"longtext"
,
"dataLength"
:
4294967295
,
"dataPrecision"
:
null
,
"dataScale"
:
null
,
"nullable"
:
"Y"
}
},
"img"
:
{
"type"
:
"String"
,
"required"
:
false
,
"length"
:
65535
,
"precision"
:
null
,
"scale"
:
null
,
"mysql"
:
{
"columnName"
:
"img"
,
"dataType"
:
"text"
,
"dataLength"
:
65535
,
"dataPrecision"
:
null
,
"dataScale"
:
null
,
"nullable"
:
"Y"
}
},
"img1"
:
{
"type"
:
"String"
,
"required"
:
false
,
"length"
:
65535
,
"precision"
:
null
,
"scale"
:
null
,
"mysql"
:
{
"columnName"
:
"img1"
,
"dataType"
:
"text"
,
"dataLength"
:
65535
,
"dataPrecision"
:
null
,
"dataScale"
:
null
,
"nullable"
:
"Y"
}
}
},
"validations"
:
[],
"relations"
:
{},
"acls"
:
[],
"methods"
:
{}
}
This diff is collapsed.
Click to expand it.
common/models/another-teacher.js
0 → 100644
View file @
67df4d58
'use strict'
;
module
.
exports
=
function
(
Anotherteacher
)
{
};
This diff is collapsed.
Click to expand it.
common/models/another-teacher.json
0 → 100644
View file @
67df4d58
{
"name"
:
"AnotherTeacher"
,
"base"
:
"PersistedModel"
,
"idInjection"
:
false
,
"options"
:
{
"validateUpsert"
:
true
},
"mysql"
:
{
"schema"
:
"wordpress"
,
"table"
:
"another_teacher"
},
"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"
:
65535
,
"precision"
:
null
,
"scale"
:
null
,
"mysql"
:
{
"columnName"
:
"name"
,
"dataType"
:
"text"
,
"dataLength"
:
65535
,
"dataPrecision"
:
null
,
"dataScale"
:
null
,
"nullable"
:
"Y"
}
},
"post"
:
{
"type"
:
"String"
,
"required"
:
false
,
"length"
:
65535
,
"precision"
:
null
,
"scale"
:
null
,
"mysql"
:
{
"columnName"
:
"post"
,
"dataType"
:
"text"
,
"dataLength"
:
65535
,
"dataPrecision"
:
null
,
"dataScale"
:
null
,
"nullable"
:
"Y"
}
},
"intro"
:
{
"type"
:
"String"
,
"required"
:
false
,
"length"
:
4294967295
,
"precision"
:
null
,
"scale"
:
null
,
"mysql"
:
{
"columnName"
:
"intro"
,
"dataType"
:
"longtext"
,
"dataLength"
:
4294967295
,
"dataPrecision"
:
null
,
"dataScale"
:
null
,
"nullable"
:
"Y"
}
},
"img"
:
{
"type"
:
"String"
,
"required"
:
false
,
"length"
:
65535
,
"precision"
:
null
,
"scale"
:
null
,
"mysql"
:
{
"columnName"
:
"img"
,
"dataType"
:
"text"
,
"dataLength"
:
65535
,
"dataPrecision"
:
null
,
"dataScale"
:
null
,
"nullable"
:
"Y"
}
},
"img1"
:
{
"type"
:
"String"
,
"required"
:
false
,
"length"
:
65535
,
"precision"
:
null
,
"scale"
:
null
,
"mysql"
:
{
"columnName"
:
"img1"
,
"dataType"
:
"text"
,
"dataLength"
:
65535
,
"dataPrecision"
:
null
,
"dataScale"
:
null
,
"nullable"
:
"Y"
}
}
},
"validations"
:
[],
"relations"
:
{},
"acls"
:
[],
"methods"
:
{}
}
This diff is collapsed.
Click to expand it.
common/models/warehousing-category.js
0 → 100644
View file @
67df4d58
'use strict'
;
module
.
exports
=
function
(
Warehousingcategory
)
{
};
This diff is collapsed.
Click to expand it.
common/models/warehousing-category.json
0 → 100644
View file @
67df4d58
{
"name"
:
"WarehousingCategory"
,
"base"
:
"PersistedModel"
,
"idInjection"
:
false
,
"options"
:
{
"validateUpsert"
:
true
},
"mysql"
:
{
"schema"
:
"wordpress"
,
"table"
:
"warehousing_category"
},
"properties"
:
{
"name"
:
{
"type"
:
"String"
,
"required"
:
false
,
"length"
:
200
,
"precision"
:
null
,
"scale"
:
null
,
"mysql"
:
{
"columnName"
:
"name"
,
"dataType"
:
"varchar"
,
"dataLength"
:
200
,
"dataPrecision"
:
null
,
"dataScale"
:
null
,
"nullable"
:
"Y"
}
},
"sku"
:
{
"type"
:
"Number"
,
"required"
:
false
,
"length"
:
null
,
"precision"
:
45
,
"scale"
:
0
,
"mysql"
:
{
"columnName"
:
"sku"
,
"dataType"
:
"decimal"
,
"dataLength"
:
null
,
"dataPrecision"
:
45
,
"dataScale"
:
0
,
"nullable"
:
"Y"
}
},
"diff"
:
{
"type"
:
"String"
,
"required"
:
true
,
"length"
:
2
,
"precision"
:
null
,
"scale"
:
null
,
"mysql"
:
{
"columnName"
:
"diff"
,
"dataType"
:
"varchar"
,
"dataLength"
:
2
,
"dataPrecision"
:
null
,
"dataScale"
:
null
,
"nullable"
:
"N"
}
},
"percent"
:
{
"type"
:
"String"
,
"required"
:
false
,
"length"
:
55
,
"precision"
:
null
,
"scale"
:
null
,
"mysql"
:
{
"columnName"
:
"percent"
,
"dataType"
:
"varchar"
,
"dataLength"
:
55
,
"dataPrecision"
:
null
,
"dataScale"
:
null
,
"nullable"
:
"Y"
}
}
},
"validations"
:
[],
"relations"
:
{},
"acls"
:
[],
"methods"
:
{}
}
This diff is collapsed.
Click to expand it.
common/models/warehousing-shop.js
0 → 100644
View file @
67df4d58
'use strict'
;
module
.
exports
=
function
(
Warehousingshop
)
{
};
This diff is collapsed.
Click to expand it.
common/models/warehousing-shop.json
0 → 100644
View file @
67df4d58
{
"name"
:
"WarehousingShop"
,
"base"
:
"PersistedModel"
,
"idInjection"
:
false
,
"options"
:
{
"validateUpsert"
:
true
},
"mysql"
:
{
"schema"
:
"wordpress"
,
"table"
:
"warehousing_shop"
},
"properties"
:
{
"name"
:
{
"type"
:
"String"
,
"required"
:
false
,
"length"
:
200
,
"precision"
:
null
,
"scale"
:
null
,
"mysql"
:
{
"columnName"
:
"name"
,
"dataType"
:
"varchar"
,
"dataLength"
:
200
,
"dataPrecision"
:
null
,
"dataScale"
:
null
,
"nullable"
:
"Y"
}
},
"sku"
:
{
"type"
:
"Number"
,
"required"
:
false
,
"length"
:
null
,
"precision"
:
45
,
"scale"
:
0
,
"mysql"
:
{
"columnName"
:
"sku"
,
"dataType"
:
"decimal"
,
"dataLength"
:
null
,
"dataPrecision"
:
45
,
"dataScale"
:
0
,
"nullable"
:
"Y"
}
},
"diff"
:
{
"type"
:
"String"
,
"required"
:
true
,
"length"
:
2
,
"precision"
:
null
,
"scale"
:
null
,
"mysql"
:
{
"columnName"
:
"diff"
,
"dataType"
:
"varchar"
,
"dataLength"
:
2
,
"dataPrecision"
:
null
,
"dataScale"
:
null
,
"nullable"
:
"N"
}
},
"percent"
:
{
"type"
:
"String"
,
"required"
:
false
,
"length"
:
55
,
"precision"
:
null
,
"scale"
:
null
,
"mysql"
:
{
"columnName"
:
"percent"
,
"dataType"
:
"varchar"
,
"dataLength"
:
55
,
"dataPrecision"
:
null
,
"dataScale"
:
null
,
"nullable"
:
"Y"
}
}
},
"validations"
:
[],
"relations"
:
{},
"acls"
:
[],
"methods"
:
{}
}
This diff is collapsed.
Click to expand it.
server/model-config.json
View file @
67df4d58
...
@@ -664,5 +664,13 @@
...
@@ -664,5 +664,13 @@
"BillEachbrands"
:
{
"BillEachbrands"
:
{
"dataSource"
:
"ruipeng"
,
"dataSource"
:
"ruipeng"
,
"public"
:
true
"public"
:
true
},
"AnotherForteachers"
:
{
"dataSource"
:
"ruipeng"
,
"public"
:
true
},
"AnotherTeacher"
:
{
"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