diff --git a/collection/uni-cms-articles/collection.json b/collection/uni-cms-articles/collection.json index 3bd3708..17f0337 100644 --- a/collection/uni-cms-articles/collection.json +++ b/collection/uni-cms-articles/collection.json @@ -160,6 +160,14 @@ "forceDefaultValue": { "$env": "clientIP" } + }, + "preview_secret": { + "bsonType": "string", + "description": "文章预览密钥" + }, + "preview_expired": { + "bsonType": "timestamp", + "description": "文章预览过期时间" } } }, diff --git a/collection/uni-cms-articles/schema.json b/collection/uni-cms-articles/schema.json index 03394bc..d4f2243 100644 --- a/collection/uni-cms-articles/schema.json +++ b/collection/uni-cms-articles/schema.json @@ -159,6 +159,14 @@ "forceDefaultValue": { "$env": "clientIP" } + }, + "preview_secret": { + "bsonType": "string", + "description": "文章预览密钥" + }, + "preview_expired": { + "bsonType": "timestamp", + "description": "文章预览过期时间" } } }