POST api/WXMain/GetDetail

获取产品详情

Request Information

URI Parameters

None.

Body Parameters

获取产品详情实体

DetailsParam
NameDescriptionTypeAdditional information
id

产品ID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

获取产品详情

ApiResultModelDetail
NameDescriptionTypeAdditional information
mallProduct

产品信息

ReturnMallProduct

None.

province

邮费说明

string

None.

maxlessamount

分享可赚 捕手,超级捕手不同

string

None.

sharetitle

分享的标题

string

None.

shareimg

分享的图片

string

None.

channel

频道-首页团购、捕手专享等 0 首页 1 捕手 2 充值卡 3 福利

integer

None.

mallProductspecsList

产品所有规格信息

Collection of ReturnMallProductspecs

None.

iscollect

该商品是否收藏 0 未收藏 1已收藏

integer

None.

isshowSale

是否显示特卖 0 显示 1不显示

integer

None.

savemoneyyear

全年可省 超级捕手优惠金额 * 5000

string

None.

returnUserEvaluation

评论信息

ReturnUserEvaluationByProductDetail

None.

isshowFriendsCircleShare

是否展示朋友圈分享信息弹窗 0 展示 1 不展示

integer

None.

isshowsharemsg

是否展示分享信息 0 展示 1 不展示

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:
{
  "mallProduct": {
    "id": 1,
    "mainimage": "sample string 2",
    "supercatchercommisson": 3.1,
    "catchercommisson": 4.1,
    "lessamount": 5.0,
    "marketprice": "sample string 6",
    "price": "sample string 7",
    "stock": 8,
    "subtitle": "sample string 9",
    "subdetail": "sample string 10",
    "recommend": "sample string 11",
    "video": "sample string 12",
    "title": "sample string 13",
    "videocover": "sample string 14",
    "detail": [
      "sample string 1",
      "sample string 2"
    ],
    "detailMsg": "sample string 15",
    "showdate": "sample string 16",
    "status": 17,
    "enddate": "sample string 18",
    "attributelist": "sample string 19",
    "supplierid": 20,
    "imagelist": [
      "sample string 1",
      "sample string 2"
    ],
    "soldratio": 21,
    "isshowvideo": 22
  },
  "province": "sample string 1",
  "maxlessamount": "sample string 2",
  "sharetitle": "sample string 3",
  "shareimg": "sample string 4",
  "channel": 5,
  "mallProductspecsList": [
    {
      "id": 1,
      "productid": 2,
      "specsids": "sample string 3",
      "specstext": "sample string 4",
      "productspecs": [
        {
          "key": "sample string 1",
          "keyid": "sample string 2",
          "values": {
            "id": "sample string 1",
            "value": "sample string 2",
            "isSelect": true
          }
        },
        {
          "key": "sample string 1",
          "keyid": "sample string 2",
          "values": {
            "id": "sample string 1",
            "value": "sample string 2",
            "isSelect": true
          }
        }
      ],
      "stock": 5,
      "price": "sample string 6",
      "pending": 7,
      "status": 8,
      "supplier": {
        "id": 1,
        "name": "sample string 2",
        "status": 3
      },
      "specmainimage": "sample string 9"
    },
    {
      "id": 1,
      "productid": 2,
      "specsids": "sample string 3",
      "specstext": "sample string 4",
      "productspecs": [
        {
          "key": "sample string 1",
          "keyid": "sample string 2",
          "values": {
            "id": "sample string 1",
            "value": "sample string 2",
            "isSelect": true
          }
        },
        {
          "key": "sample string 1",
          "keyid": "sample string 2",
          "values": {
            "id": "sample string 1",
            "value": "sample string 2",
            "isSelect": true
          }
        }
      ],
      "stock": 5,
      "price": "sample string 6",
      "pending": 7,
      "status": 8,
      "supplier": {
        "id": 1,
        "name": "sample string 2",
        "status": 3
      },
      "specmainimage": "sample string 9"
    }
  ],
  "iscollect": 6,
  "isshowSale": 7,
  "savemoneyyear": "sample string 8",
  "returnUserEvaluation": {
    "headimgurl": "sample string 1",
    "nickname": "sample string 2",
    "id": 3,
    "evaluationtext": "sample string 4",
    "createdate": "sample string 5",
    "productevaluation": 6
  },
  "isshowFriendsCircleShare": 9,
  "isshowsharemsg": 10,
  "code": 11,
  "msg": "sample string 12",
  "submsg": "sample string 13",
  "isinvitation": 14
}