mirror of
https://gitee.com/dcloud/opendb.git
synced 2024-12-27 15:01:15 +08:00
update collection/opendb-mall-categories/collection.json.
This commit is contained in:
parent
e9de69cff7
commit
ff525c69e4
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"schema": {
|
"schema": {
|
||||||
"bsonType": "object",
|
"bsonType": "object",
|
||||||
"required": ["name", "create_date"],
|
"required": ["name"],
|
||||||
"properties": {
|
"properties": {
|
||||||
"_id": {
|
"_id": {
|
||||||
"description": "存储文档 ID(文章 ID),系统自动生成"
|
"description": "存储文档 ID(文章 ID),系统自动生成"
|
||||||
@ -17,11 +17,14 @@
|
|||||||
},
|
},
|
||||||
"icon": {
|
"icon": {
|
||||||
"bsonType": "string",
|
"bsonType": "string",
|
||||||
"description": "类别图标/图片地址"
|
"description": "类别图标/图片地址",
|
||||||
|
"title":"图标地址",
|
||||||
|
"pattern": "^(http://|https://|/|./|@/)\\S"
|
||||||
},
|
},
|
||||||
"sort": {
|
"sort": {
|
||||||
"bsonType": "int",
|
"bsonType": "int",
|
||||||
"description": "类别排序"
|
"description": "类别排序,越大越靠后",
|
||||||
|
"title":"排序"
|
||||||
},
|
},
|
||||||
"description": {
|
"description": {
|
||||||
"bsonType": "string",
|
"bsonType": "string",
|
||||||
|
Loading…
Reference in New Issue
Block a user