请及时更新项目!
仅知识所有者(专家)或管理员可修改知识内容。 支持部分字段更新,未提供的字段将保持原值。 修改后知识状态将重置为{@code PENDING},需重新审核。
curl --location --request PUT 'http://101.43.142.153/api/knowledge/' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/json' \
--data-raw '{
"title": "string",
"content": "string",
"tags": [
"string"
]
}'
{
"code": 0,
"message": "",
"data": {
"id": 0,
"title": "",
"content": "",
"tags": [
""
],
"expert": {
"id": 0,
"username": "",
"password": "",
"address": "",
"role": "",
"addressList": [
{
"id": 0,
"user": {
"id": 0,
"username": "",
"password": "",
"address": "",
"role": "",
"addressList": [
{
"id": 0,
"user": {},
"receiver_name": "",
"phone": "",
"detail": ""
}
]
},
"receiver_name": "",
"phone": "",
"detail": ""
}
]
},
"createTime": "",
"updateTime": ""
}
}