GET api/v2/coupon/product/list/{size}/{page}

查詢優惠券商品

Request Information

URI Parameters

NameDescriptionTypeAdditional information
page

頁碼

integer

Required

size

每頁數量

integer

Required

Body Parameters

None.

Response Information

Resource Description

查詢優惠券商品

ReturnResultOfPageListOfProductCouponItemRspContract
NameDescriptionTypeAdditional information
data

PageListOfProductCouponItemRspContract

None.

code

状态码:100成功,其他自定义

integer

None.

message

提示消息

string

None.

Response Formats

application/json, text/json

Sample:
{
  "data": {
    "total_count": 1,
    "page": 2,
    "page_size": 3,
    "data_list": [
      {
        "productid": "sample string 1",
        "productname": "sample string 2",
        "descript": "sample string 3",
        "coverpic": "sample string 4",
        "integralnum": 5,
        "producttype": 6,
        "usetype": 7,
        "validdays": 8
      },
      {
        "productid": "sample string 1",
        "productname": "sample string 2",
        "descript": "sample string 3",
        "coverpic": "sample string 4",
        "integralnum": 5,
        "producttype": 6,
        "usetype": 7,
        "validdays": 8
      }
    ],
    "page_count": 1
  },
  "code": 1,
  "message": "sample string 2"
}