GET api/menu/loadmymenu?tpid={tpid}
加载我的菜单
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
tpid |
菜单分类 |
MenuType |
Default value is 0 |
Body Parameters
None.
Response Information
Resource Description
加载我的菜单
JsonRtnDtoOfListOfMenuName | Description | Type | Additional information |
---|---|---|---|
Msg | string |
None. |
|
State | RtnState |
None. |
|
Data | Collection of 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:07:01.4061929+08:00", "CreatedTime": "2024-09-25T00:07:01.4061929+08:00", "IsShow": true, "IsEnabled": true }, { "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:07:01.4061929+08:00", "CreatedTime": "2024-09-25T00:07:01.4061929+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:07:01.4061929+08:00","CreatedTime":"2024-09-25T00:07:01.4061929+08:00","IsShow":true,"IsEnabled":true},{"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:07:01.4061929+08:00","CreatedTime":"2024-09-25T00:07:01.4061929+08:00","IsShow":true,"IsEnabled":true}]}
application/xml, text/xml
Sample:
<JsonRtnDtoOfArrayOfMenumEDjlcEG 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:Menu> <d2p1:CreatedTime>2024-09-25T00:07:01.4061929+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:07:01.4061929+08:00</d2p1:UpdatedTime> </d2p1:Menu> <d2p1:Menu> <d2p1:CreatedTime>2024-09-25T00:07:01.4061929+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:07:01.4061929+08:00</d2p1:UpdatedTime> </d2p1:Menu> </Data> <Msg>sample string 1</Msg> <State>Display</State> </JsonRtnDtoOfArrayOfMenumEDjlcEG>
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:07:01.4061929+08:00","CreatedTime":"2024-09-25T00:07:01.4061929+08:00","IsShow":true,"IsEnabled":true},{"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:07:01.4061929+08:00","CreatedTime":"2024-09-25T00:07:01.4061929+08:00","IsShow":true,"IsEnabled":true}]});