POST api/ShareCon/Businessapi

商学院文章

Request Information

URI Parameters

None.

Body Parameters

换页位点,参数1=频道 如新人必学

PageDataParam
NameDescriptionTypeAdditional information
position_index

位点,除第一页之外,其它都需要传递;前端原样返回。注意:从第二页开始,位点必须传递前一页返回的值,否则翻页无效。

string

None.

data1

参数1

string

None.

data2

参数2

string

None.

date1

参数1 线上有地方写错了字段 补救

string

None.

date2

参数2 线上有地方写错了字段 补救

string

None.

Request Formats

application/json, text/json

Sample:
{
  "position_index": "sample string 1",
  "data1": "sample string 2",
  "data2": "sample string 3",
  "date1": "sample string 4",
  "date2": "sample string 5"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

商学院文章

ApiResultBusinessModel
NameDescriptionTypeAdditional information
position_index

这是位点,换页时候 原样回传就可以

string

None.

datas

返回的文章列表

Collection of ResutlBusiness

None.

code

0:正确 100:错误 403:需要重新登录

integer

None.

msg

string

None.

submsg

输出的错误信息

string

None.

isinvitation

登陆时候是否需要弹窗填些邀请码 1:需要

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "position_index": "sample string 1",
  "datas": [
    {
      "id": 1,
      "typename": "sample string 2",
      "title": "sample string 3",
      "subtitle": "sample string 4",
      "mainimage": "sample string 5",
      "video": "sample string 6",
      "videocover": "sample string 7",
      "showtime": "sample string 8",
      "detail": "sample string 9",
      "tag": "sample string 10"
    },
    {
      "id": 1,
      "typename": "sample string 2",
      "title": "sample string 3",
      "subtitle": "sample string 4",
      "mainimage": "sample string 5",
      "video": "sample string 6",
      "videocover": "sample string 7",
      "showtime": "sample string 8",
      "detail": "sample string 9",
      "tag": "sample string 10"
    }
  ],
  "code": 2,
  "msg": "sample string 3",
  "submsg": "sample string 4",
  "isinvitation": 5
}