{ "opendb-admin-menus": { "data": [{ "enable": true, "icon": "", "menu_id": "admin_log", "name": "系统日志", "parent_id": "system_management", "permission": [], "sort": 1020, "url": "/pages/opendb-admin-log/list" } ] }, "opendb-admin-log": { "data": [ { "user_name": "史玉柱", "content": "修改密码", "ip": "192.168.12.31", "crate_date": 1602662469396, "create_date": 1602662469396 }, { "user_name": "张瑞敏", "content": "登录", "ip": "192.168.12.1", "crate_date": 1602662469396, "create_date": 1602642469396 }, { "user_name": "马云", "content": "退出登录", "ip": "192.168.0.2", "create_date": 1602662260396 }, { "user_name": "柳传志", "content": "注册", "ip": "192.168.12.3", "crate_date": 1602662460098, "create_date": 1602662460098 } ], "schema": { "bsonType": "object", "required": [ "user_id", "content" ], "permission": { "read": false, "create": false, "update": false, "delete": false }, "properties": { "_id": { "description": "ID,系统自动生成" }, "user_id": { "bsonType": "string", "description": "用户id,参考uni-id-users表" }, "user_name": { "bsonType": "string", "description": "用户名或昵称,冗余设计", "title": "用户" }, "content": { "bsonType": "string", "description": "日志内容,如:修改密码", "title": "内容" }, "ip": { "bsonType": "string", "description": "ip地址", "title": "IP" }, "create_date": { "bsonType": "timestamp", "description": "创建时间", "title": "时间" } } } } }