POST api/DevilTraining/FirstPage

魔鬼刷题功能首页

Request Information

URI Parameters

None.

Body Parameters

UserToken有值就提交,无值可不提或提交空值均可

API_Base_FormCommitModel
NameDescriptionTypeAdditional information
UserToken

当前登录用户的UserToken,由服务端在用户登录成功之后生成,并在整个访问过程中回传

string

None.

DomainName

来访域名(用户访问该站点时输入的域名)

string

None.

Request Formats

application/json, text/json

Sample:
{
  "UserToken": "sample string 1",
  "DomainName": "sample string 2"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

APIResponseModelOfAM_DevilTraining_FirstPage
NameDescriptionTypeAdditional information
Data

AM_DevilTraining_FirstPage

None.

State

integer

None.

Msg

返回的错误或描述信息

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": {
    "ProductClassifyList": [
      {
        "ClassifyId": 1,
        "ClassifyName": "sample string 2"
      },
      {
        "ClassifyId": 1,
        "ClassifyName": "sample string 2"
      }
    ],
    "BookList": [
      {
        "BookId": 1,
        "BookName": "sample string 2",
        "ImgUrl": "sample string 3",
        "Price": 4.0,
        "PreferentialPrice": 5.0,
        "BookLables": [
          {
            "LableName": "sample string 1",
            "ObjectId": 2
          },
          {
            "LableName": "sample string 1",
            "ObjectId": 2
          }
        ],
        "ClassifyId": 6,
        "NumberOfPurchase": 7,
        "IsOwned": 64,
        "ChapterList": [
          {
            "ChapterId": 1,
            "ChapterName": "sample string 2",
            "BookId": 3,
            "PartId": 4
          },
          {
            "ChapterId": 1,
            "ChapterName": "sample string 2",
            "BookId": 3,
            "PartId": 4
          }
        ],
        "SectionList": [
          {
            "SectionId": 1,
            "SectionName": "sample string 2",
            "ChapterId": 3
          },
          {
            "SectionId": 1,
            "SectionName": "sample string 2",
            "ChapterId": 3
          }
        ]
      },
      {
        "BookId": 1,
        "BookName": "sample string 2",
        "ImgUrl": "sample string 3",
        "Price": 4.0,
        "PreferentialPrice": 5.0,
        "BookLables": [
          {
            "LableName": "sample string 1",
            "ObjectId": 2
          },
          {
            "LableName": "sample string 1",
            "ObjectId": 2
          }
        ],
        "ClassifyId": 6,
        "NumberOfPurchase": 7,
        "IsOwned": 64,
        "ChapterList": [
          {
            "ChapterId": 1,
            "ChapterName": "sample string 2",
            "BookId": 3,
            "PartId": 4
          },
          {
            "ChapterId": 1,
            "ChapterName": "sample string 2",
            "BookId": 3,
            "PartId": 4
          }
        ],
        "SectionList": [
          {
            "SectionId": 1,
            "SectionName": "sample string 2",
            "ChapterId": 3
          },
          {
            "SectionId": 1,
            "SectionName": "sample string 2",
            "ChapterId": 3
          }
        ]
      }
    ]
  },
  "State": 1,
  "Msg": "sample string 2"
}