POST api/Goods/GoodsDetail

获取商品详情

Request Information

URI Parameters

None.

Body Parameters

GoodsDetailParam
NameDescriptionTypeAdditional information
goodsId

淘宝商品id

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "goodsId": 1
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

获取商品详情

GoodsDetailModel
NameDescriptionTypeAdditional information
returnGoodsDetail

ReturnGoodsDetail

None.

code

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

integer

None.

msg

string

None.

submsg

输出的错误信息

string

None.

isinvitation

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

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "returnGoodsDetail": {
    "provcity": "sample string 1",
    "status": 2,
    "sellerId": 3,
    "shopLogo": "sample string 4",
    "detailPics": [
      "sample string 1",
      "sample string 2"
    ],
    "imgs": [
      "sample string 1",
      "sample string 2"
    ],
    "shopName": "sample string 5",
    "title": "sample string 6",
    "mainPic": "sample string 7",
    "originalPrice": "sample string 8",
    "actualPrice": "sample string 9",
    "couponPrice": "sample string 10",
    "monthSales": 11,
    "goodsId": 12,
    "id": 13,
    "commission": "sample string 14",
    "savemoney": "sample string 15",
    "createTime": "sample string 16",
    "shopType": 17,
    "couponLink": "sample string 18",
    "couponEndTime": "sample string 19",
    "couponStartTime": "sample string 20",
    "couponConditions": "sample string 21",
    "descScore": "sample string 22",
    "shipScore": "sample string 23",
    "serviceScore": "sample string 24",
    "goodsdesc": "sample string 25",
    "availableSubsidy": "sample string 26",
    "subsidyExpiredTime": "sample string 27",
    "subsidy": "sample string 28"
  },
  "code": 1,
  "msg": "sample string 2",
  "submsg": "sample string 3",
  "isinvitation": 4
}