GET api/Navigation/GetParentNavigation?moduleId={moduleId}
后台-获取所有一级导航
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
moduleId | ModuleType |
Default value is All |
Body Parameters
None.
Response Information
Resource Description
后台-获取所有一级导航
Collection of mh163k_NavigationName | Description | Type | Additional information |
---|---|---|---|
Id |
ID |
integer |
None. |
ParentId |
父节点,0表示无父节点 |
integer |
None. |
Name |
导航名称 |
string |
None. |
Url |
导航链接 |
string |
None. |
IntOrder |
排序 默认值(1) |
integer |
None. |
Ico |
图标/截图 |
string |
None. |
IsOpen |
显示/隐藏 |
boolean |
None. |
Color |
颜色 |
string |
None. |
OpenType |
导航打开方式 |
OpenType |
None. |
ModuleId |
归属版块id(栏目id) |
ModuleType |
None. |
IsThreeLevel |
是否三级导航栏 |
boolean |
None. |
PluginId |
插件id 为0表示基础模块 |
integer |
None. |
Response Formats
application/json
Sample:
text/json
Sample:
application/xml, text/xml
Sample:
<ArrayOfmh163k_Navigation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mh.Common.Service.Model"> <mh163k_Navigation> <Color>sample string 8</Color> <Ico>sample string 6</Ico> <Id>1</Id> <IntOrder>5</IntOrder> <IsOpen>true</IsOpen> <IsThreeLevel>true</IsThreeLevel> <ModuleId>None</ModuleId> <Name>sample string 3</Name> <OpenType>Original</OpenType> <ParentId>2</ParentId> <PluginId>10</PluginId> <Url>sample string 4</Url> </mh163k_Navigation> <mh163k_Navigation> <Color>sample string 8</Color> <Ico>sample string 6</Ico> <Id>1</Id> <IntOrder>5</IntOrder> <IsOpen>true</IsOpen> <IsThreeLevel>true</IsThreeLevel> <ModuleId>None</ModuleId> <Name>sample string 3</Name> <OpenType>Original</OpenType> <ParentId>2</ParentId> <PluginId>10</PluginId> <Url>sample string 4</Url> </mh163k_Navigation> </ArrayOfmh163k_Navigation>