// 文档教程: https://uniapp.dcloud.net.cn/uniCloud/schema
{
"bsonType": "object",
"required": [],
"permission": {
"read": false,
"create": true,
"update": false,
"delete": false
},
"properties": {
"_id": {
"description": "ID,系统自动生成"
},
"user_id": {
"bsonType": "string",
"description": "用户标识",
"label": "用户标识",
"forceDefaultValue": {
"$env": "uid"
},
"foreignKey": "uni-id-users._id",
"enum": {
"collection": "uni-id-users",
"field": "_id as value, nickname as text"
}
},
"situation": {
"bsonType": "int",
"description": "情况"
},
"create_time": {
"bsonType": "timestamp",
"description": "创建时间",
"forceDefaultValue": {
"$env": "now"
}
}
}
}
御焱
- 发布:2023-04-18 14:34
- 更新:2024-05-09 13:34
- 阅读:352
产品分类: uniCloud/App
示例代码:
操作步骤:
如图
如图
预期结果:
如图
如图
实际结果:
如图
如图
御焱 (作者)
上传了
2023-04-18 20:39