POST api/TreasureCoin/GetAuctionByIds

根据商品id获取商品当前出价

Request Information

URI Parameters

None.

Body Parameters

GetAuctionByIdsParamModel
NameDescriptionTypeAdditional information
ids

商品id多个以英文逗号分隔

string

None.

Request Formats

application/json, text/json

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

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

根据商品id获取商品当前出价

ApiResultGetAuctionByIdsModel
NameDescriptionTypeAdditional information
products

商品列表

Collection of TreasureCoinProductExtExt

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:
{
  "products": [
    {
      "id": 1,
      "currentnickname": "sample string 2",
      "headimgurl": "sample string 3",
      "currentprice": 4.0,
      "auctionno": 5,
      "lastdealtime": "2020-08-08T05:22:10.4410444+08:00",
      "currentauctiontime": 6,
      "currentauctionstatus": 7,
      "auctionintervaltime": 8,
      "nextauctionstarttime": 9
    },
    {
      "id": 1,
      "currentnickname": "sample string 2",
      "headimgurl": "sample string 3",
      "currentprice": 4.0,
      "auctionno": 5,
      "lastdealtime": "2020-08-08T05:22:10.4410444+08:00",
      "currentauctiontime": 6,
      "currentauctionstatus": 7,
      "auctionintervaltime": 8,
      "nextauctionstarttime": 9
    }
  ],
  "state": 1,
  "code": 2,
  "msg": "sample string 3",
  "submsg": "sample string 4",
  "isinvitation": 5
}