delRel.md 938 Bytes

删除品牌关注

接口名: /guang/relationship/delRel

方法

POST JSONRAW

入参


属性名称 类型 例子 说明 是否必填 范围
id Integer 1 ID主键 1-11

对应SQL的操作库表

    <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer" >
        delete from brand_relationship
        where id = #{id,jdbcType=INTEGER}
    </delete>

    <delete id="deleteByShipId" parameterType="java.lang.Integer" >
        delete from relationship_image
        where ship_id = #{shipId,jdbcType=INTEGER}
    </delete>

错误编码


错误码code 消息 说明
200 删除成功
400 删除失败

返回

    {
        "code": "200",
        "message":"删除成功"
    }