POST api/admin/map/update
【管理员】【地图管理】新增/更新
Request Information
URI Parameters
None.
Body Parameters
TB_Map| Name | Description | Type | Additional information |
|---|---|---|---|
| id | string |
None. |
|
| title | string |
None. |
|
| titleUrl | string |
None. |
|
| mapUrl | string |
None. |
|
| status | integer |
None. |
|
| updateAt | date |
None. |
|
| createAt | date |
None. |
|
| more | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": "sample string 1",
"title": "sample string 2",
"titleUrl": "sample string 3",
"mapUrl": "sample string 4",
"status": 5,
"updateAt": "2026-01-12T07:43:32.4123618+08:00",
"createAt": "2026-01-12T07:43:32.4123618+08:00",
"more": "sample string 8"
}
application/xml, text/xml
Sample:
<TB_Map xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Web.Api"> <createAt>2026-01-12T07:43:32.4123618+08:00</createAt> <id>sample string 1</id> <mapUrl>sample string 4</mapUrl> <more>sample string 8</more> <status>5</status> <title>sample string 2</title> <titleUrl>sample string 3</titleUrl> <updateAt>2026-01-12T07:43:32.4123618+08:00</updateAt> </TB_Map>
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>