mirror of
https://gitee.com/dcloud/opendb.git
synced 2024-12-26 22:41:15 +08:00
留言反馈
This commit is contained in:
parent
a18b1a3c4f
commit
d64b2444b5
79
collection/uni-id-feedback/collection.json
Normal file
79
collection/uni-id-feedback/collection.json
Normal file
@ -0,0 +1,79 @@
|
||||
{
|
||||
"schema": {
|
||||
"bsonType": "object",
|
||||
"required": ["uid", "content"],
|
||||
"properties": {
|
||||
"_id": {
|
||||
"description": "ID,系统自动生成"
|
||||
},
|
||||
"uid": {
|
||||
"bsonType": "string",
|
||||
"description": "留言反馈用户ID/回复留言用户ID,参考uni-id-users表"
|
||||
},
|
||||
"create_time": {
|
||||
"bsonType": "timestamp",
|
||||
"description": "留言时间/回复留言时间"
|
||||
},
|
||||
"content": {
|
||||
"bsonType": "string",
|
||||
"description": "留言内容/回复内容"
|
||||
},
|
||||
"imgs": {
|
||||
"bsonType": "array",
|
||||
"description": "图片列表"
|
||||
},
|
||||
"is_reply": {
|
||||
"bsonType": "bool",
|
||||
"description": "是否是回复类型"
|
||||
},
|
||||
"feedback_id": {
|
||||
"bsonType": "string",
|
||||
"description": "被回复留言ID"
|
||||
},
|
||||
"contact": {
|
||||
"bsonType": "string",
|
||||
"description": "联系人"
|
||||
},
|
||||
"mobile": {
|
||||
"bsonType": "string",
|
||||
"description": "联系电话"
|
||||
},
|
||||
"reply_count": {
|
||||
"bsonType": "int",
|
||||
"description": "被回复条数"
|
||||
}
|
||||
}
|
||||
},
|
||||
"index": [
|
||||
{
|
||||
"IndexName": "uid",
|
||||
"MgoKeySchema": {
|
||||
"MgoIndexKeys": [{
|
||||
"Name": "uid",
|
||||
"Direction": "1"
|
||||
}],
|
||||
"MgoIsUnique": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"IndexName": "is_reply",
|
||||
"MgoKeySchema": {
|
||||
"MgoIndexKeys": [{
|
||||
"Name": "is_reply",
|
||||
"Direction": "1"
|
||||
}],
|
||||
"MgoIsUnique": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"IndexName": "create_time",
|
||||
"MgoKeySchema": {
|
||||
"MgoIndexKeys": [{
|
||||
"Name": "create_time",
|
||||
"Direction": "1"
|
||||
}],
|
||||
"MgoIsUnique": false
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
17
collection/uni-id-feedback/package.json
Normal file
17
collection/uni-id-feedback/package.json
Normal file
@ -0,0 +1,17 @@
|
||||
{
|
||||
"name": "@opendb/uni-id-feedback",
|
||||
"version": "0.0.1",
|
||||
"description": "用户留言反馈",
|
||||
"keywords": ["留言","反馈"],
|
||||
"opendb": {
|
||||
"title": "留言反馈",
|
||||
"type": "collection",
|
||||
"contributors": [
|
||||
{
|
||||
"name": "BaseCloud",
|
||||
"email": "11162762894@qq.com",
|
||||
"homepage": "https://ext.dcloud.net.cn/plugin?id=2772"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
@ -7,5 +7,6 @@
|
||||
"uni-id-scores": {},
|
||||
"uni-id-task": {},
|
||||
"uni-id-task-log": {},
|
||||
"uni-id-followers": {}
|
||||
"uni-id-followers": {},
|
||||
"uni-id-feedback": {}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user