POST api/TreasureCoin/GetIndex

获取天天挖宝首页分类商品

Request Information

URI Parameters

None.

Body Parameters

TreasureCoinIndexParamModel
NameDescriptionTypeAdditional information
minupdate

最新更新时间

string

None.

Request Formats

application/json, text/json

Sample:
{
  "minupdate": "sample string 1"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

获取天天挖宝首页分类商品

ApiResultTreasureCoinIndexModel
NameDescriptionTypeAdditional information
onecategorys

第一个分类列表

Collection of OneTreasureCoinCategory

None.

twocategorys

第二个分类列表

Collection of TwoTreasureCoinCategory

None.

minupdate

最新更新时间

string

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