接口请求说明

请求方式

post https://站点接口域名/openapi/hot-search/create|delete

如果需要删除,请在请求中添加keyword_id和keyword,仅能删除固定位的词

请求示例

{
    "keyword": "t1",
    "name": "t1",
    "desc": "this is test",
    "direct": "",
    "fix_position": 1, //不填默认固定位为1
    "fix_start": 1629270178, //不填写则立即开始
    "fix_end": 1629356578, //不填写则默认24小时
    "type": 0
}

接口响应说明

响应示例

{
    "code": 0,
    "text": "",
    "data": {
        "name": "t1",
        "keyword": "t1",
        "desc": "this is test",
        "direct": "",
        "fix_position": 1,
        "fix_start": 1629424118,
        "fix_end": 1629510518,
        "type": 0,
        "status": 1,
        "search_num": 0,
        "combine_num": 0,
        "hot": 0,
        "created_at": 1629424119,
        "updated_at": 1629424119,
        "forbid_at": "0",
        "id": 14,
        "raw_direct": "",
        "type_text": "",
        "type_color": "",
        "rank": 1
    },
    "time": 1629424119
}
文档更新时间: 2021-09-02 11:55   作者:gaofeng