1 Star 0 Fork 0

Egret/uni-app实验室后端

加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
lab-member.schema.json 1.94 KB
一键复制 编辑 原始数据 按行查看 历史
Egret 提交于 2022-07-11 11:57 +08:00 . init
{
"bsonType": "object",
"required": ["avatorfile", "name", "title", "researchDirection"],
"permission": {
"read": true
},
"properties": {
"_id": {
"description": "ID,系统自动生成"
},
"avatorfile": {
"bsonType": "file",
"fileMediaType": "image",
"title": "成员头像",
"description": "图片文件信息,包括文件名、url等"
},
"open_url": {
"bsonType": "string",
"description": "点击跳转目标地址。如果是web地址则使用内置web-view打开;如果是本地页面则跳转本地页面;如果是schema地址则打开本地的app",
"title": "点击目标地址",
"format": "url",
"pattern": "^(http:\/\/|https:\/\/|\/|.\/|@\/)\\S",
"trim": "both"
},
"name": {
"bsonType": "string",
"description": "成员姓名",
"maxLength": 20,
"title": "成员姓名",
"trim": "both"
},
"title": {
"bsonType": "int",
"description": "职称,不允许重复",
"label": "职称",
"enum": [
{
"value": 0,
"text": "教授"
},
{
"value": 1,
"text": "副教授"
},
{
"value": 2,
"text": "讲师"
},
{
"value": 3,
"text": "博士研究生"
},
{
"value": 4,
"text": "硕士研究生"
}
]
},
"researchDirection": {
"bsonType": "string",
"description": "成员的研究方向 如图像处理",
"maxLength": 20,
"title": "研究方向",
"trim": "both"
},
"content": {
"bsonType": "string",
"title": "个人简历",
"description": "个人简历",
"label": "个人简历"
},
"category_id": {
"bsonType": "string",
"description": "多个栏目的banner都存在一个表里时可用这个字段区分",
"title": "分类id"
},
"status": {
"bsonType": "bool",
"defaultValue": true,
"title": "生效状态"
},
"description": {
"bsonType": "string",
"description": "维护者自用描述",
"title": "备注",
"trim": "both"
}
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/Egrt/uni-app-lab-server.git
git@gitee.com:Egrt/uni-app-lab-server.git
Egrt
uni-app-lab-server
uni-app实验室后端
master

搜索帮助