Authorization: Bearer ********************{
"id": 123, // 留言的唯一ID
"message": "Updated message content", // 新的留言内容
"label": 2, // 新的标签
"public": 0, // 是否公开,0为私密,1为公开
"color": "#FF5733" // 新的颜色
}
curl --location 'http://localhost:3000/walls/editwall' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"id": 123, // 留言的唯一ID
"message": "Updated message content", // 新的留言内容
"label": 2, // 新的标签
"public": 0, // 是否公开,0为私密,1为公开
"color": "#FF5733" // 新的颜色
}'{
"code": 200,
"message": "Wall edited successfully",
"data": {
"id": 34,
"type": 0,
"message": "Updated message content",
"userId": 6,
"moment": "2024-11-13T07:21:49.645Z",
"label": 2,
"color": 124,
"imgurl": "",
"public": true,
"anonymous": true,
"name": "匿名用户",
"like": 1,
"islike": 0,
"comcount": 0
}
}