update: boolean 修正为 bool

This commit is contained in:
handongxun 2021-03-08 21:15:53 +08:00
parent ef05c02993
commit 421dfcc14f
2 changed files with 20 additions and 20 deletions

View File

@ -19,35 +19,35 @@
"name": { "name": {
"bsonType": "string", "bsonType": "string",
"description": "类别名称", "description": "类别名称",
"title":"类别名称", "title": "类别名称",
"trim":"both" "trim": "both"
}, },
"icon": { "icon": {
"bsonType": "string", "bsonType": "string",
"description": "类别图标/图片地址", "description": "类别图标/图片地址",
"title":"图标地址", "title": "图标地址",
"pattern": "^(http://|https://|/|./|@/)\\S", "pattern": "^(http://|https://|/|./|@/)\\S",
"trim":"both" "trim": "both"
}, },
"sort": { "sort": {
"bsonType": "int", "bsonType": "int",
"description": "类别排序,越大越靠后", "description": "类别排序,越大越靠后",
"title":"排序" "title": "排序"
}, },
"description": { "description": {
"bsonType": "string", "bsonType": "string",
"description": "类别描述", "description": "类别描述",
"title":"类别描述", "title": "类别描述",
"trim":"both" "trim": "both"
}, },
"is_hot_show": { "is_hot_show": {
"bsonType": "Boolean", "bsonType": "bool",
"title":"加入热门显示", "title": "加入热门显示",
"description": "是否热门显示" "description": "是否热门显示"
}, },
"is_index_show": { "is_index_show": {
"bsonType": "Boolean", "bsonType": "bool",
"title":"首页显示", "title": "首页显示",
"description": "是否首页显示" "description": "是否首页显示"
}, },
"create_date": { "create_date": {

View File

@ -37,7 +37,7 @@
"description": "订单状态1待付款2已付款3退款审核中4退款中5已退款-1已取消付款/退款,-2退款拒绝-3退款失败" "description": "订单状态1待付款2已付款3退款审核中4退款中5已退款-1已取消付款/退款,-2退款拒绝-3退款失败"
}, },
"is_refund": { "is_refund": {
"bsonType": "boolean", "bsonType": "bool",
"description": "是否是退款订单" "description": "是否是退款订单"
}, },
"refund_amount": { "refund_amount": {