简要描述:

  • 接口版本:

版本号 制定人 制定日期 修订日期
1.0.0 kevin 2020-07-06

请求URL:

请求方式:

  • POST

请求头:

参数名 是否必须 类型 说明
token string token参数

请求参数:

参数名 是否必须 类型 说明
goods_id string 商品id

返回示例:

正确时返回:

{
    "status": 200,
    "msg": "收藏成功",
    "data": {
        "collection_type": 1
    },
    "other": []
}

失败时返回:

{
    "status": 0,
    "msg": "添加失败"
}

返回参数说明:

参数名 类型 说明
collection_type int 【1=收藏,2=取消收藏】

备注:

文档更新时间: 2020-07-06 19:56   作者:admin