update collection/opendb-mall-goods/collection.json.

This commit is contained in:
崔红保 2020-10-27 14:53:31 +08:00 committed by Gitee
parent 862185f559
commit a56aa519d7

View File

@ -2,6 +2,12 @@
"schema": {
"bsonType": "object",
"required": ["goods_sn", "name", "remain_count", "month_sell_count", "total_sell_count", "comment_count", "is_real", "is_on_sale", "is_alone_sale", "is_best", "is_new", "is_hot"],
"permission": {
".read": true,
".create": false,
".update": false,
".delete": false
},
"properties": {
"_id": {
"description": "存储文档 ID商品 ID系统自动生成"