mirror of
https://gitee.com/dcloud/opendb.git
synced 2024-09-20 03:23:03 +08:00
Compare commits
4 Commits
779c304742
...
5aa84d7b3f
Author | SHA1 | Date | |
---|---|---|---|
|
5aa84d7b3f | ||
|
85c9e09636 | ||
|
9f8b0288ef | ||
|
f6512301ac |
@ -41,6 +41,10 @@
|
||||
"title": "详细描述",
|
||||
"trim":"both"
|
||||
},
|
||||
"goods_imgs": {
|
||||
"bsonType": "array",
|
||||
"description": "商品详情页的图片描述地址"
|
||||
},
|
||||
"goods_thumb": {
|
||||
"bsonType": "string",
|
||||
"description": "商品缩略图,用于在列表或搜索结果中预览显示",
|
||||
|
@ -31,6 +31,11 @@
|
||||
"title": "评论内容",
|
||||
"trim": "right"
|
||||
},
|
||||
"comment_imgs": {
|
||||
"bsonType": "array",
|
||||
"description": "评论图片",
|
||||
"title": "评论图片"
|
||||
},
|
||||
"like_count": {
|
||||
"bsonType": "int",
|
||||
"description": "评论喜欢数、点赞数"
|
||||
|
@ -190,6 +190,30 @@
|
||||
],
|
||||
"MgoIsUnique":false
|
||||
}
|
||||
},
|
||||
{
|
||||
"IndexName":"entry_count",
|
||||
"MgoKeySchema":{
|
||||
"MgoIndexKeys":[
|
||||
{
|
||||
"Name":"entry_count",
|
||||
"Direction":"1"
|
||||
}
|
||||
],
|
||||
"MgoIsUnique":false
|
||||
}
|
||||
},
|
||||
{
|
||||
"IndexName":"visit_times",
|
||||
"MgoKeySchema":{
|
||||
"MgoIndexKeys":[
|
||||
{
|
||||
"Name":"visit_times",
|
||||
"Direction":"1"
|
||||
}
|
||||
],
|
||||
"MgoIsUnique":false
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user