GET api/Conf/GetHomeModes?homeMode={homeMode}&userType={userType}

加载首页模块设置

Request Information

URI Parameters

NameDescriptionTypeAdditional information
homeMode

The home mode.

string

Required

userType

UserType

Default value is 教师

Body Parameters

None.

Response Information

Resource Description

加载首页模块设置

JsonRtnDtoOfSetHomeMode
NameDescriptionTypeAdditional information
Msg

string

None.

State

RtnState

None.

Data

SetHomeMode

None.

Response Formats

application/json, text/json

Sample:
{
  "Msg": "sample string 1",
  "State": 100,
  "Data": {
    "Mode": "sample string 1",
    "UserType": 0,
    "HomeModeInput": [
      {
        "Name": "sample string 1",
        "Link": "sample string 2",
        "Src": "sample string 3",
        "Backgroud": "sample string 4",
        "TitleColor": "sample string 5",
        "ItemHoverBackgroud": "sample string 6",
        "Enabled": true
      },
      {
        "Name": "sample string 1",
        "Link": "sample string 2",
        "Src": "sample string 3",
        "Backgroud": "sample string 4",
        "TitleColor": "sample string 5",
        "ItemHoverBackgroud": "sample string 6",
        "Enabled": true
      }
    ],
    "Enabled": true
  }
}

text/html

Sample:
{"Msg":"sample string 1","State":100,"Data":{"Mode":"sample string 1","UserType":0,"HomeModeInput":[{"Name":"sample string 1","Link":"sample string 2","Src":"sample string 3","Backgroud":"sample string 4","TitleColor":"sample string 5","ItemHoverBackgroud":"sample string 6","Enabled":true},{"Name":"sample string 1","Link":"sample string 2","Src":"sample string 3","Backgroud":"sample string 4","TitleColor":"sample string 5","ItemHoverBackgroud":"sample string 6","Enabled":true}],"Enabled":true}}

application/xml, text/xml

Sample:
<JsonRtnDtoOfSetHomeModev3CTEUQJ xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services">
  <Data>
    <Enabled>true</Enabled>
    <HomeModeInput>
      <HomeModeInputDto>
        <Backgroud>sample string 4</Backgroud>
        <Enabled>true</Enabled>
        <ItemHoverBackgroud>sample string 6</ItemHoverBackgroud>
        <Link>sample string 2</Link>
        <Name>sample string 1</Name>
        <Src>sample string 3</Src>
        <TitleColor>sample string 5</TitleColor>
      </HomeModeInputDto>
      <HomeModeInputDto>
        <Backgroud>sample string 4</Backgroud>
        <Enabled>true</Enabled>
        <ItemHoverBackgroud>sample string 6</ItemHoverBackgroud>
        <Link>sample string 2</Link>
        <Name>sample string 1</Name>
        <Src>sample string 3</Src>
        <TitleColor>sample string 5</TitleColor>
      </HomeModeInputDto>
    </HomeModeInput>
    <Mode>sample string 1</Mode>
    <UserType>Any</UserType>
  </Data>
  <Msg>sample string 1</Msg>
  <State>Display</State>
</JsonRtnDtoOfSetHomeModev3CTEUQJ>

text/javascript, application/javascript, application/json-p

Sample:
/**/ typeof  === 'function' && ({"Msg":"sample string 1","State":100,"Data":{"Mode":"sample string 1","UserType":0,"HomeModeInput":[{"Name":"sample string 1","Link":"sample string 2","Src":"sample string 3","Backgroud":"sample string 4","TitleColor":"sample string 5","ItemHoverBackgroud":"sample string 6","Enabled":true},{"Name":"sample string 1","Link":"sample string 2","Src":"sample string 3","Backgroud":"sample string 4","TitleColor":"sample string 5","ItemHoverBackgroud":"sample string 6","Enabled":true}],"Enabled":true}});