GET api/menu/get?Id={Id}
加载单个菜单
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
Id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
加载单个菜单
JsonRtnDtoOfMenuName | Description | Type | Additional information |
---|---|---|---|
Msg | string |
None. |
|
State | RtnState |
None. |
|
Data | Menu |
None. |
Response Formats
application/json, text/json
Sample:
{ "Msg": "sample string 1", "State": 100, "Data": { "Id": 1, "MenuType": 1, "MenuName": "sample string 2", "Path": "sample string 3", "PId": 4, "Link": "sample string 5", "FontIcon": "sample string 6", "Sort": 7, "UpdatedTime": "2024-09-25T00:12:09.1766557+08:00", "CreatedTime": "2024-09-25T00:12:09.1766557+08:00", "IsShow": true, "IsEnabled": true } }
text/html
Sample:
{"Msg":"sample string 1","State":100,"Data":{"Id":1,"MenuType":1,"MenuName":"sample string 2","Path":"sample string 3","PId":4,"Link":"sample string 5","FontIcon":"sample string 6","Sort":7,"UpdatedTime":"2024-09-25T00:12:09.1766557+08:00","CreatedTime":"2024-09-25T00:12:09.1766557+08:00","IsShow":true,"IsEnabled":true}}
application/xml, text/xml
Sample:
<JsonRtnDtoOfMenumEDjlcEG xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services"> <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/BJ.Data"> <d2p1:CreatedTime>2024-09-25T00:12:09.1766557+08:00</d2p1:CreatedTime> <d2p1:FontIcon>sample string 6</d2p1:FontIcon> <d2p1:Id>1</d2p1:Id> <d2p1:IsEnabled>true</d2p1:IsEnabled> <d2p1:IsShow>true</d2p1:IsShow> <d2p1:Link>sample string 5</d2p1:Link> <d2p1:MenuName>sample string 2</d2p1:MenuName> <d2p1:MenuType>云课堂</d2p1:MenuType> <d2p1:PId>4</d2p1:PId> <d2p1:Path>sample string 3</d2p1:Path> <d2p1:Sort>7</d2p1:Sort> <d2p1:UpdatedTime>2024-09-25T00:12:09.1766557+08:00</d2p1:UpdatedTime> </Data> <Msg>sample string 1</Msg> <State>Display</State> </JsonRtnDtoOfMenumEDjlcEG>
text/javascript, application/javascript, application/json-p
Sample:
/**/ typeof === 'function' && ({"Msg":"sample string 1","State":100,"Data":{"Id":1,"MenuType":1,"MenuName":"sample string 2","Path":"sample string 3","PId":4,"Link":"sample string 5","FontIcon":"sample string 6","Sort":7,"UpdatedTime":"2024-09-25T00:12:09.1766557+08:00","CreatedTime":"2024-09-25T00:12:09.1766557+08:00","IsShow":true,"IsEnabled":true}});