POST api/Gift/GetProductDetail

获取礼品商品详情

Request Information

URI Parameters

None.

Body Parameters

GiftProductDetailParamModel
NameDescriptionTypeAdditional information
productid

礼品商品id

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "productid": 1
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

获取礼品商品详情

ApiResultGiftProductDetailModel
NameDescriptionTypeAdditional information
productid

商品id

integer

None.

title

商品标题

string

None.

mainimage

主图

string

None.

imagelist

其他图片

string

None.

detail

详情

string

None.

price

礼品价格

decimal number

None.

marketprice

市场价

decimal number

None.

enddate

结束时间

integer

None.

status

状态 1:正常 -1:删除 0:下架

integer

None.

stock

库存

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:
{
  "productid": 1,
  "title": "sample string 2",
  "mainimage": "sample string 3",
  "imagelist": "sample string 4",
  "detail": "sample string 5",
  "price": 6.0,
  "marketprice": 7.0,
  "enddate": 8,
  "status": 9,
  "stock": 10,
  "code": 11,
  "msg": "sample string 12",
  "submsg": "sample string 13",
  "isinvitation": 14
}