POST api/manager/article/update
【博物馆管理员】【藏品管理】新增/更新
Request Information
URI Parameters
None.
Body Parameters
TB_Article| Name | Description | Type | Additional information |
|---|---|---|---|
| id | string |
None. |
|
| featureId | string |
None. |
|
| describe | string |
None. |
|
| coverUrl | string |
None. |
|
| redirectUrl | string |
None. |
|
| title | string |
None. |
|
| content | string |
None. |
|
| audioUrl | string |
None. |
|
| videoUrl | string |
None. |
|
| order | integer |
None. |
|
| status | integer |
None. |
|
| createBy | string |
None. |
|
| updateBy | string |
None. |
|
| updateAt | date |
None. |
|
| createAt | date |
None. |
|
| more | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": "sample string 1",
"featureId": "sample string 2",
"describe": "sample string 3",
"coverUrl": "sample string 4",
"redirectUrl": "sample string 5",
"title": "sample string 6",
"content": "sample string 7",
"audioUrl": "sample string 8",
"videoUrl": "sample string 9",
"order": 1,
"status": 10,
"createBy": "sample string 11",
"updateBy": "sample string 12",
"updateAt": "2026-01-12T07:52:46.6028519+08:00",
"createAt": "2026-01-12T07:52:46.6028519+08:00",
"more": "sample string 15"
}
application/xml, text/xml
Sample:
<TB_Article xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Web.Api"> <audioUrl>sample string 8</audioUrl> <content>sample string 7</content> <coverUrl>sample string 4</coverUrl> <createAt>2026-01-12T07:52:46.6028519+08:00</createAt> <createBy>sample string 11</createBy> <describe>sample string 3</describe> <featureId>sample string 2</featureId> <id>sample string 1</id> <more>sample string 15</more> <order>1</order> <redirectUrl>sample string 5</redirectUrl> <status>10</status> <title>sample string 6</title> <updateAt>2026-01-12T07:52:46.6028519+08:00</updateAt> <updateBy>sample string 12</updateBy> <videoUrl>sample string 9</videoUrl> </TB_Article>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
【博物馆管理员】【藏品管理】新增/更新
MyResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| code |
-1表示失败,0表示成功 |
integer |
None. |
| msg |
错误信息 |
string |
None. |
| data |
响应消息 |
Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"code": 1,
"msg": "sample string 2",
"data": {}
}
application/xml, text/xml
Sample:
<MyResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tools"> <code>1</code> <data /> <msg>sample string 2</msg> </MyResponse>