uni-stat-pages.schema.json 735 字节
Newer Older
study夏羽's avatar
study夏羽 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
// 应用页面表
{
	"bsonType": "object",
	"description": "提供应用的页面字典",
	"required": [],
	"permission": {
		"read": "'READ_UNI_STAT_PAGES' in auth.permission",
		"create": false,
		"update": false,
		"delete": false
	},
	"properties": {
		"_id": {
			"description": "ID,系统自动生成"
		},
		"appid": {
			"bsonType": "string",
			"description": "统计应用ID,对应opendb-app-list.appid",
			"foreignKey": "opendb-app-list.appid"
		},
		"path": {
			"bsonType": "string",
			"description": "页面路径,如`\/pages\/index\/index`"
		},
		"title": {
			"bsonType": "string",
			"description": "页面标题"
		},
		"create_time": {
			"bsonType": "timestamp",
			"description": "创建时间"
		}
	}
}