diff --git a/collection/opendb-mall-categories/collection.json b/collection/opendb-mall-categories/collection.json index 1df915e..6d65b51 100644 --- a/collection/opendb-mall-categories/collection.json +++ b/collection/opendb-mall-categories/collection.json @@ -2,12 +2,12 @@ "schema": { "bsonType": "object", "required": ["name"], - "permission": { - "read": true, - "create": false, - "update": false, - "delete": false - }, + "permission": { + "read": true, + "create": false, + "update": false, + "delete": false + }, "properties": { "_id": { "description": "存储文档 ID(文章 ID),系统自动生成" @@ -19,35 +19,35 @@ "name": { "bsonType": "string", "description": "类别名称", - "title":"类别名称", - "trim":"both" + "title": "类别名称", + "trim": "both" }, "icon": { "bsonType": "string", "description": "类别图标/图片地址", - "title":"图标地址", + "title": "图标地址", "pattern": "^(http://|https://|/|./|@/)\\S", - "trim":"both" + "trim": "both" }, "sort": { "bsonType": "int", "description": "类别排序,越大越靠后", - "title":"排序" + "title": "排序" }, "description": { "bsonType": "string", "description": "类别描述", - "title":"类别描述", - "trim":"both" + "title": "类别描述", + "trim": "both" }, - "is_hot_show": { - "bsonType": "Boolean", - "title":"加入热门显示", + "is_hot_show": { + "bsonType": "bool", + "title": "加入热门显示", "description": "是否热门显示" }, - "is_index_show": { - "bsonType": "Boolean", - "title":"首页显示", + "is_index_show": { + "bsonType": "bool", + "title": "首页显示", "description": "是否首页显示" }, "create_date": { diff --git a/collection/uni-id-base-order/collection.json b/collection/uni-id-base-order/collection.json index e63d500..abfc1af 100644 --- a/collection/uni-id-base-order/collection.json +++ b/collection/uni-id-base-order/collection.json @@ -37,7 +37,7 @@ "description": "订单状态,1:待付款,2:已付款,3:退款审核中,4:退款中,5:已退款,-1已取消付款/退款,-2:退款拒绝,-3:退款失败" }, "is_refund": { - "bsonType": "boolean", + "bsonType": "bool", "description": "是否是退款订单" }, "refund_amount": {