Showing
1 changed file
with
44 additions
and
0 deletions
1 | +# 关闭物理分类 | ||
2 | + | ||
3 | +> 接口名: `/product/closeProductSort` | ||
4 | + | ||
5 | +### 方法 | ||
6 | + | ||
7 | +> POST JSONRAW | ||
8 | + | ||
9 | + | ||
10 | +### 入参 | ||
11 | + | ||
12 | +------------------------- | ||
13 | +|属性名称|类型|例子|说明|是否必填|长度限制| | ||
14 | +|--------|----|----|----|--------|--------| | ||
15 | +|param|number|品类的Id|品类的ID|Y|5 | ||
16 | +--------------------- | ||
17 | + | ||
18 | +### 对应SQL的操作库表 | ||
19 | + | ||
20 | +```xml | ||
21 | +<update id="updateById" parameterType="com.yohobuy.platform.dal.product.model.ProductSort" > | ||
22 | + update product_sort set status = #{status,jdbcType=TINYINT} where id = #{id,jdbcType=SMALLINT} | ||
23 | + </update> | ||
24 | +``` | ||
25 | + | ||
26 | +### 错误编码 | ||
27 | + | ||
28 | +------------------------- | ||
29 | +|错误码code|消息|说明| | ||
30 | +|--------|----|----| | ||
31 | +|200| 关闭分类成功| | | ||
32 | +|500| 操作失败!| | | ||
33 | + | ||
34 | +### 返回 | ||
35 | + | ||
36 | +``` json | ||
37 | +{ | ||
38 | + "code": 200, | ||
39 | + "data": [], | ||
40 | + "md5": "d751713988987e9331980363e24189ce", | ||
41 | + "message": "关闭分类成功" | ||
42 | +} | ||
43 | + | ||
44 | +``` |
-
Please register or login to post a comment