Showing
1 changed file
with
138 additions
and
0 deletions
inferface-document/guang/tagsSort.md
0 → 100644
1 | +标签分类管理接口服务定义 | ||
2 | +--------------------- | ||
3 | + | ||
4 | + | ||
5 | + | ||
6 | +## 标签分类列表查询 | ||
7 | + | ||
8 | +> 接口名: '/tags/sort/getList' | ||
9 | + | ||
10 | +### 入参 | ||
11 | + | ||
12 | +无 | ||
13 | + | ||
14 | +### 返回 | ||
15 | + | ||
16 | +``` json | ||
17 | +{ | ||
18 | + "code":200, | ||
19 | + "message":"操作成功", | ||
20 | + "data": { | ||
21 | + "list": [ | ||
22 | + { | ||
23 | + "id": "", //分类ID | ||
24 | + "classifyName": "", //分类名称 | ||
25 | + "status": "", //是否启用 | ||
26 | + "orderBy": "", //排序 | ||
27 | + "createTime": "", //创建时间 | ||
28 | + } | ||
29 | + ] | ||
30 | + } | ||
31 | +} | ||
32 | + | ||
33 | +``` | ||
34 | + | ||
35 | + | ||
36 | +## 添加分类接口 | ||
37 | + | ||
38 | +> 接口名: '/tags/sort/addSort' | ||
39 | + | ||
40 | +### 入参 | ||
41 | + | ||
42 | +------------------------- | ||
43 | +|属性名称|类型|例子|说明| | ||
44 | +|--------|----|----|----| | ||
45 | +|classifyName|String|搭配风格|分类名称| | ||
46 | +|status|int|1|是否启用| | ||
47 | +|orderBy|int|5|排序| | ||
48 | +--------------------- | ||
49 | + | ||
50 | +### 返回 | ||
51 | + | ||
52 | +``` json | ||
53 | +{ | ||
54 | + "code":200, | ||
55 | + "message":"添加成功!" | ||
56 | +} | ||
57 | + | ||
58 | +``` | ||
59 | + | ||
60 | + | ||
61 | +## 编辑分类接口 | ||
62 | + | ||
63 | +> 接口名: '/tags/sort/updateSort' | ||
64 | + | ||
65 | +### 入参 | ||
66 | + | ||
67 | +------------------------- | ||
68 | +|属性名称|类型|例子|说明| | ||
69 | +|--------|----|----|----| | ||
70 | +|id|int|1023|分类ID| | ||
71 | +|classifyName|String|搭配风格|分类名称| | ||
72 | +|status|int|1|是否启用| | ||
73 | +|orderBy|int|5|排序| | ||
74 | +--------------------- | ||
75 | + | ||
76 | +### 返回 | ||
77 | + | ||
78 | +``` json | ||
79 | +{ | ||
80 | + "code":200, | ||
81 | + "message":"修改成功!" | ||
82 | +} | ||
83 | + | ||
84 | +``` | ||
85 | + | ||
86 | +## 编辑时分类详情接口 | ||
87 | + | ||
88 | +> 接口名: '/tags/sort/getDetail' | ||
89 | + | ||
90 | +### 入参 | ||
91 | + | ||
92 | +------------------------- | ||
93 | +|属性名称|类型|例子|说明| | ||
94 | +|--------|----|----|----| | ||
95 | +|id|int|43|分类id| | ||
96 | +--------------------- | ||
97 | + | ||
98 | +### 返回 | ||
99 | + | ||
100 | +``` json | ||
101 | +{ | ||
102 | + "code":200, | ||
103 | + "message":"操作成功", | ||
104 | + "data": { | ||
105 | + "id": "", | ||
106 | + "classifyName": "", //分类名称 | ||
107 | + "status": "", //是否启用 | ||
108 | + "orderBy": "", //排序 | ||
109 | + "createTime": "", //创建时间 | ||
110 | + } | ||
111 | +} | ||
112 | + | ||
113 | +``` | ||
114 | + | ||
115 | + | ||
116 | +## 删除分类接口 | ||
117 | + | ||
118 | +> 接口名: '/tags/sort/delSort' | ||
119 | + | ||
120 | +### 入参 | ||
121 | + | ||
122 | +------------------------- | ||
123 | +|属性名称|类型|例子|说明| | ||
124 | +|--------|----|----|----| | ||
125 | +|id|int|43|分类id| | ||
126 | +--------------------- | ||
127 | + | ||
128 | +### 返回 | ||
129 | + | ||
130 | +``` json | ||
131 | +{ | ||
132 | + "code":200, | ||
133 | + "message":"删除成功!" | ||
134 | +} | ||
135 | + | ||
136 | +``` | ||
137 | + | ||
138 | +``` |
-
Please register or login to post a comment