POST api/TreasureCoin/GetProductList

获取指定分类的商品列表

Request Information

URI Parameters

None.

Body Parameters

TreasureCoinProductParamModel
NameDescriptionTypeAdditional information
minupdate

最新更新时间

string

None.

categoryid

商品分类id

integer

None.

subcategoryid

商品子类id 1:竞拍话费卡 2:竞拍加油卡 6:0.01元成交区话费卡 7:0.01元成交区加油卡

integer

None.

pageIndex

页码

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "minupdate": "sample string 1",
  "categoryid": 2,
  "subcategoryid": 3,
  "pageIndex": 4
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

获取指定分类的商品列表

ApiResultTreasureCoinProductModel
NameDescriptionTypeAdditional information
minupdate

最新更新时间

string

None.

chancecoupon

机会券余额

integer

None.

products

商品列表

Collection of TreasureCoinProductExt

None.

pageIndex

页码

integer

None.

currenttime

服务器当前时间戳

integer

None.

state

是否在竞拍时段 0:否 1:是(竞拍时间为每日早上6点至次日凌晨2点)

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:
{
  "minupdate": "sample string 1",
  "chancecoupon": 2,
  "products": [
    {
      "currentnickname": "sample string 1",
      "headimgurl": "sample string 2",
      "id": 3,
      "title": "sample string 4",
      "currentprice": 5.0,
      "mainimage": "sample string 6",
      "marketprice": 7.0,
      "averageprice": 8.0,
      "auctionno": 9,
      "currentauctiontime": 10,
      "currentauctionstatus": 11,
      "lastdealtime": "2020-10-22T08:03:37.7104168+08:00",
      "auctionintervaltime": 12,
      "nextauctionstarttime": 13,
      "chancecoupon": 14,
      "biddingqualification": 15,
      "stock": 16
    },
    {
      "currentnickname": "sample string 1",
      "headimgurl": "sample string 2",
      "id": 3,
      "title": "sample string 4",
      "currentprice": 5.0,
      "mainimage": "sample string 6",
      "marketprice": 7.0,
      "averageprice": 8.0,
      "auctionno": 9,
      "currentauctiontime": 10,
      "currentauctionstatus": 11,
      "lastdealtime": "2020-10-22T08:03:37.7104168+08:00",
      "auctionintervaltime": 12,
      "nextauctionstarttime": 13,
      "chancecoupon": 14,
      "biddingqualification": 15,
      "stock": 16
    }
  ],
  "pageIndex": 3,
  "currenttime": 4,
  "state": 5,
  "code": 6,
  "msg": "sample string 7",
  "submsg": "sample string 8",
  "isinvitation": 9
}