POST api/Goods/GetSearchGood

搜索检测单品

Request Information

URI Parameters

None.

Body Parameters

GetSearchGoodsParam
NameDescriptionTypeAdditional information
sort

排序 1.销量高到低 2.销量低到高 3.价格高到低 4.价格低到高 5.券面额从高到低 6.佣金从高到低 7.实时上新

integer

None.

tmall

1-天猫商品,0-所有商品,不填默认为0

integer

None.

haitao

1-海淘商品,0-所有商品,不填默认为0

integer

None.

tchaoshi

是否天猫超市商品,1-天猫超市商品,0-非天猫超市商品

integer

None.

nine

9块9 1是,0默认

integer

None.

prices

大于多少钱

decimal number

None.

pricee

小于多少钱

decimal number

None.

goldSellers

是否金牌卖家,1-金牌卖家,0-非金牌卖家

integer

None.

activityType

活动类型,1-无活动,2-淘抢购,3-聚划算

integer

None.

pageId

页码

integer

None.

keyWords

关键字/淘口令

string

None.

Request Formats

application/json, text/json

Sample:
{
  "sort": 1,
  "tmall": 2,
  "haitao": 3,
  "tchaoshi": 4,
  "nine": 5,
  "prices": 6.0,
  "pricee": 7.0,
  "goldSellers": 8,
  "activityType": 9,
  "pageId": 10,
  "keyWords": "sample string 11"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

搜索检测单品

SearchGoodModel
NameDescriptionTypeAdditional information
superGoods

商品信息

ReturnSuperGoods

None.

code

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

integer

None.

msg

string

None.

submsg

输出的错误信息

string

None.

isinvitation

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

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "superGoods": {
    "title": "sample string 1",
    "mainPic": "sample string 2",
    "originalPrice": "sample string 3",
    "actualPrice": "sample string 4",
    "couponPrice": "sample string 5",
    "monthSales": 6,
    "goodsId": 7,
    "id": 8,
    "commission": "sample string 9",
    "shopName": "sample string 10",
    "shopType": 11,
    "discounts": "sample string 12"
  },
  "code": 1,
  "msg": "sample string 2",
  "submsg": "sample string 3",
  "isinvitation": 4
}