POST api/admin/map/feature/update
【管理员】【博物馆管理】新增/更新
Request Information
URI Parameters
None.
Body Parameters
TB_Map_Feature| Name | Description | Type | Additional information |
|---|---|---|---|
| id | string |
None. |
|
| mapId | string |
None. |
|
| typeId | string |
None. |
|
| managerId | string |
None. |
|
| experienceName | string |
None. |
|
| tel | string |
None. |
|
| title | string |
None. |
|
| x | decimal number |
None. |
|
| y | decimal number |
None. |
|
| lon | decimal number |
None. |
|
| lat | decimal number |
None. |
|
| experience | string |
None. |
|
| markerName | string |
None. |
|
| markeraddr | string |
None. |
|
| coverUrl | string |
None. |
|
| addrUrl | string |
None. |
|
| iconUrl | string |
None. |
|
| videoUrl | string |
None. |
|
| content | string |
None. |
|
| status | integer |
None. |
|
| workAt | string |
None. |
|
| describe | string |
None. |
|
| order | integer |
None. |
|
| thirdUrl | string |
None. |
|
| updateAt | date |
None. |
|
| createAt | date |
None. |
|
| more | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": "sample string 1",
"mapId": "sample string 2",
"typeId": "sample string 3",
"managerId": "sample string 4",
"experienceName": "sample string 5",
"tel": "sample string 6",
"title": "sample string 7",
"x": 1.1,
"y": 1.1,
"lon": 1.1,
"lat": 1.1,
"experience": "sample string 8",
"markerName": "sample string 9",
"markeraddr": "sample string 10",
"coverUrl": "sample string 11",
"addrUrl": "sample string 12",
"iconUrl": "sample string 13",
"videoUrl": "sample string 14",
"content": "sample string 15",
"status": 16,
"workAt": "sample string 17",
"describe": "sample string 18",
"order": 19,
"thirdUrl": "sample string 20",
"updateAt": "2026-01-12T07:45:15.2236118+08:00",
"createAt": "2026-01-12T07:45:15.2236118+08:00",
"more": "sample string 23"
}
application/xml, text/xml
Sample:
<TB_Map_Feature xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Web.Api"> <addrUrl>sample string 12</addrUrl> <content>sample string 15</content> <coverUrl>sample string 11</coverUrl> <createAt>2026-01-12T07:45:15.2236118+08:00</createAt> <describe>sample string 18</describe> <experience>sample string 8</experience> <experienceName>sample string 5</experienceName> <iconUrl>sample string 13</iconUrl> <id>sample string 1</id> <lat>1.1</lat> <lon>1.1</lon> <managerId>sample string 4</managerId> <mapId>sample string 2</mapId> <markerName>sample string 9</markerName> <markeraddr>sample string 10</markeraddr> <more>sample string 23</more> <order>19</order> <status>16</status> <tel>sample string 6</tel> <thirdUrl>sample string 20</thirdUrl> <title>sample string 7</title> <typeId>sample string 3</typeId> <updateAt>2026-01-12T07:45:15.2236118+08:00</updateAt> <videoUrl>sample string 14</videoUrl> <workAt>sample string 17</workAt> <x>1.1</x> <y>1.1</y> </TB_Map_Feature>
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>