POST api/admin/slide/update
【管理员】【藏品管理】新增/更新
Request Information
URI Parameters
None.
Body Parameters
TB_System_Slide| Name | Description | Type | Additional information |
|---|---|---|---|
| id | string |
None. |
|
| name | string |
None. |
|
| url | string |
None. |
|
| order | integer |
None. |
|
| link | string |
None. |
|
| text | string |
None. |
|
| type | integer |
None. |
|
| createAt | date |
None. |
|
| updateAt | date |
None. |
|
| more | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": "sample string 1",
"name": "sample string 2",
"url": "sample string 3",
"order": 1,
"link": "sample string 4",
"text": "sample string 5",
"type": 1,
"createAt": "2026-01-12T07:52:47.1047685+08:00",
"updateAt": "2026-01-12T07:52:47.1047685+08:00",
"more": "sample string 7"
}
application/xml, text/xml
Sample:
<TB_System_Slide xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Web.Api"> <createAt>2026-01-12T07:52:47.1047685+08:00</createAt> <id>sample string 1</id> <link>sample string 4</link> <more>sample string 7</more> <name>sample string 2</name> <order>1</order> <text>sample string 5</text> <type>1</type> <updateAt>2026-01-12T07:52:47.1047685+08:00</updateAt> <url>sample string 3</url> </TB_System_Slide>
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>