POST api/Goods/GetRankingGoodsList

获取榜单列表

Request Information

URI Parameters

None.

Body Parameters

GetRankingParam
NameDescriptionTypeAdditional information
rankType

榜单类型 1.两小时销售榜 2.全天销售榜

integer

None.

Cid

分类id请求详情:-1-精选,1 -居家百货,2 -美食,3 -服饰,4 -配饰,5 -美妆,6 -内衣,7 -母婴,8 -箱包,9 -数码配件,10 -文娱车品

integer

None.

pageIndex

页数

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "rankType": 1,
  "Cid": 2,
  "pageIndex": 3
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

获取榜单列表

RankingModel
NameDescriptionTypeAdditional information
rankingGoodsList

Collection of ReturnRankingGoods

None.

pageIndex

页数

integer

None.

code

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

integer

None.

msg

string

None.

submsg

输出的错误信息

string

None.

isinvitation

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

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "rankingGoodsList": [
    {
      "title": "sample string 1",
      "mainPic": "sample string 2",
      "originalPrice": "sample string 3",
      "actualPrice": "sample string 4",
      "couponPrice": "sample string 5",
      "discounts": "sample string 6",
      "monthSales": 7,
      "goodsId": 8,
      "id": 9,
      "commission": "sample string 10",
      "shopName": "sample string 11",
      "ranking": 12,
      "shopType": 13,
      "starttime": "sample string 14",
      "endtime": "sample string 15"
    },
    {
      "title": "sample string 1",
      "mainPic": "sample string 2",
      "originalPrice": "sample string 3",
      "actualPrice": "sample string 4",
      "couponPrice": "sample string 5",
      "discounts": "sample string 6",
      "monthSales": 7,
      "goodsId": 8,
      "id": 9,
      "commission": "sample string 10",
      "shopName": "sample string 11",
      "ranking": 12,
      "shopType": 13,
      "starttime": "sample string 14",
      "endtime": "sample string 15"
    }
  ],
  "pageIndex": 1,
  "code": 2,
  "msg": "sample string 3",
  "submsg": "sample string 4",
  "isinvitation": 5
}