POST api/Goods/Searchsuggestion

搜索词联想:为搜索提供联想词支持,完善搜索功能,建议用户停止输入时进行接口请求

Request Information

URI Parameters

None.

Body Parameters

GetSearchSuggestionParam
NameDescriptionTypeAdditional information
kw

关键词

string

None.

Request Formats

application/json, text/json

Sample:
{
  "kw": "sample string 1"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

搜索词联想:为搜索提供联想词支持,完善搜索功能,建议用户停止输入时进行接口请求

DTKSuggestionResult
NameDescriptionTypeAdditional information
time

string

None.

code

integer

None.

msg

string

None.

data

Collection of SuggestionkwData

None.

Response Formats

application/json, text/json

Sample:
{
  "time": "sample string 1",
  "code": 2,
  "msg": "sample string 3",
  "data": [
    {
      "kw": "sample string 1",
      "total": 2
    },
    {
      "kw": "sample string 1",
      "total": 2
    }
  ]
}