add log api & mock

mgy
Dawn1Ocean 2024-03-27 13:36:37 +08:00
parent fbaedaad0e
commit 166c8b6319
4 changed files with 21 additions and 9 deletions

View File

@ -227,6 +227,16 @@ data:
"op": "宇航员",
"time": "2024-03-07T19:52:48.523303",
"operation": 2,
"target": {}, //TODO
"target": 1,
"prev": {
"id": 114,
"info": "马嘉祺"
},
"curr": {
"id": 514,
"info": "何君琳"
}
},
```
前端显示的信息:"{op} 于 {time} {operation} 了 {target}{prev.info} -> {curr.info}"

View File

@ -47,7 +47,15 @@ const api = {
op: '宇航员',
time: '2024-03-07T19:52:48.523303',
operation: 2,
target: {}, //TODO
target: 1,
prev: {
id: 114,
info: '马嘉祺',
},
curr: {
id: 514,
info: '何君琳',
},
},
},
};

View File

@ -14,13 +14,7 @@ const data = [
].map((item) => ({
title: item,
subTitle: <Tag color='#5BD8A6'></Tag>,
actions: [
<a key='invite'></a>,
<a key='operate'></a>,
<a key='rest'>
<EllipsisOutlined />
</a>,
],
actions: [<EllipsisOutlined />],
avatar:
'https://gw.alipayobjects.com/zos/antfincdn/UCSiy1j6jx/xingzhuang.svg',
content: (

View File