|
|
# 删除资讯分类资源
|
|
|
|
|
|
> 接口名: `/guang/article/sort/delSort
|
|
|
|
|
|
### 方法
|
|
|
|
|
|
> GET
|
|
|
|
|
|
### 入参
|
|
|
-------------------------
|
|
|
|属性名称|类型|例子|说明|
|
|
|
|--------|----|----|----|
|
|
|
|id|Integer|1|ID主键|
|
|
|
---------------------
|
|
|
|
|
|
|
|
|
### 对应SQL的操作库表
|
|
|
|
|
|
```
|
|
|
<delete id="deleteByPrimaryKey" parameterType="java.lang.Integer">
|
|
|
delete from article_sort
|
|
|
where id = #{id,jdbcType=INTEGER}
|
|
|
</delete>
|
|
|
```
|
|
|
|
|
|
### 错误编码
|
|
|
|
|
|
-------------------------
|
|
|
|错误码code|消息|说明|
|
|
|
|--------|----|----|
|
|
|
|200|删除成功| |
|
|
|
|400|删除失败| |
|
|
|
|
|
|
|
|
|
### 返回
|
|
|
|
|
|
``` json
|
|
|
{
|
|
|
"code": "200",
|
|
|
"message":"删除成功"
|
|
|
}
|
|
|
|
|
|
``` |
...
|
...
|
|