...
|
...
|
@@ -121,6 +121,7 @@ sort_list: |
|
|
|id |是 |int |8 |资源id |
|
|
|
|
|
|
### 返回
|
|
|
``` son
|
|
|
|
|
|
{
|
|
|
"code": 200,
|
...
|
...
|
@@ -156,7 +157,7 @@ sort_list: |
|
|
"md5": "1a6475d5d666454d1db9c1749e3511e0",
|
|
|
"message": "操作成功"
|
|
|
}
|
|
|
|
|
|
```
|
|
|
plat_list:
|
|
|
-----------------------------
|
|
|
|参数名 |描述 |
|
...
|
...
|
@@ -192,7 +193,7 @@ row: |
|
|
'/resources/resourcesAddPage'
|
|
|
|
|
|
### 返回
|
|
|
|
|
|
``` json
|
|
|
{
|
|
|
"code": 200,
|
|
|
"data": {
|
...
|
...
|
@@ -238,7 +239,7 @@ sort_list: |
|
|
|createTime |创建时间 |
|
|
|
|status |状态码 |
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
### 通过id删除资源
|
...
|
...
|
@@ -252,13 +253,14 @@ sort_list: |
|
|
|id |是 |int |614 |资源id |
|
|
|
|
|
|
#### 返回
|
|
|
|
|
|
``` json
|
|
|
{
|
|
|
"code": 200,
|
|
|
"data": [],
|
|
|
"md5": "d751713988987e9331980363e24189ce",
|
|
|
"message": "删除成功."
|
|
|
}
|
|
|
```
|
|
|
|
|
|
### 新增/修改资源
|
|
|
|
...
|
...
|
@@ -276,12 +278,13 @@ sort_list: |
|
|
|
|
|
|
|
|
#### 返回
|
|
|
```json
|
|
|
{
|
|
|
"code": 200,
|
|
|
"message": "资源添加成功!"
|
|
|
}
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
### 查询所有的资源分类
|
...
|
...
|
@@ -328,12 +331,14 @@ sort_list: |
|
|
|status|byte|1|是否启用|
|
|
|
|
|
|
#### 返回
|
|
|
``` json
|
|
|
{
|
|
|
"code": 200,
|
|
|
"data": [],
|
|
|
"md5": "d751713988987e9331980363e24189ce",
|
|
|
"message": "添加成功."
|
|
|
}
|
|
|
```
|
|
|
|
|
|
### 通过资源分类id获取编辑页面需要的信息(List<platform> 和 ResourcesSort)
|
|
|
>'/resources/resSortEditPage'
|
...
|
...
|
@@ -344,6 +349,7 @@ sort_list: |
|
|
|sortId|int|11|平台id 必传|
|
|
|
|
|
|
#### 返回
|
|
|
``` json
|
|
|
{
|
|
|
"code": 200,
|
|
|
"data": {
|
...
|
...
|
@@ -375,7 +381,8 @@ platformResult": [ |
|
|
"message": "操作成功"
|
|
|
}
|
|
|
|
|
|
返回platformResult result
|
|
|
```
|
|
|
|
|
|
platformResult:
|
|
|
-----------------------------
|
|
|
|参数名 |描述 |
|
...
|
...
|
@@ -399,6 +406,7 @@ result: |
|
|
>'/resources/resSortIndex'
|
|
|
|
|
|
### 返回:
|
|
|
``` json
|
|
|
{
|
|
|
"code": 200,
|
|
|
"data": {
|
...
|
...
|
@@ -424,6 +432,7 @@ result: |
|
|
"md5": "ff6d0788a93de7a134aee28e3798eb17",
|
|
|
"message": "操作成功"
|
|
|
}
|
|
|
```
|
|
|
|
|
|
platform:
|
|
|
-----------------------------
|
...
|
...
|
@@ -458,12 +467,14 @@ result: |
|
|
|
|
|
|
|
|
#### 返回
|
|
|
``` json
|
|
|
{
|
|
|
"code": 200,
|
|
|
"data": [],
|
|
|
"md5": "d751713988987e9331980363e24189ce",
|
|
|
"message": "修改成功."
|
|
|
}
|
|
|
```
|
|
|
|
|
|
### 删除分类
|
|
|
>'/resources/deleteResourcesSort'
|
...
|
...
|
@@ -474,13 +485,14 @@ result: |
|
|
|sortId|int|11|平台id 必传|
|
|
|
|
|
|
#### 返回
|
|
|
```json
|
|
|
{
|
|
|
"code": 200,
|
|
|
"data": [],
|
|
|
"md5": "d751713988987e9331980363e24189ce",
|
|
|
"message": "删除成功."
|
|
|
}
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
### 查询所有的平台
|
...
|
...
|
@@ -527,6 +539,7 @@ result: |
|
|
|
|
|
|
|
|
#### 返回
|
|
|
``` json
|
|
|
{
|
|
|
"code": 200,
|
|
|
"data": {
|
...
|
...
|
@@ -539,6 +552,7 @@ result: |
|
|
"md5": "ebbcef62c9233fafd1d9cc357b72aef3",
|
|
|
"message": "操作成功"
|
|
|
}
|
|
|
```
|
|
|
|
|
|
-----------------------------
|
|
|
|参数名 |描述 |
|
...
|
...
|
@@ -561,13 +575,14 @@ result: |
|
|
|status|byte|1|是否启用 必传|
|
|
|
|
|
|
#### 返回
|
|
|
|
|
|
``` json
|
|
|
{
|
|
|
"code": 200,
|
|
|
"data": [],
|
|
|
"md5": "d751713988987e9331980363e24189ce",
|
|
|
"message": "添加成功."
|
|
|
}
|
|
|
```
|
|
|
|
|
|
### 通过id更新平台
|
|
|
|
...
|
...
|
@@ -583,12 +598,14 @@ result: |
|
|
|status|byte|1|是否启用 必传|
|
|
|
|
|
|
#### 返回
|
|
|
``` json
|
|
|
{
|
|
|
"code": 200,
|
|
|
"data": [],
|
|
|
"md5": "d751713988987e9331980363e24189ce",
|
|
|
"message": "修改成功."
|
|
|
}
|
|
|
```
|
|
|
|
|
|
### 通过id删除平台
|
|
|
'resources/deleteResPlatform'
|
...
|
...
|
@@ -600,11 +617,12 @@ result: |
|
|
|platformId|int|ipad|平台名称 必传|
|
|
|
|
|
|
#### 返回
|
|
|
``` json
|
|
|
{
|
|
|
"code": 200,
|
|
|
"data": [],
|
|
|
"md5": "d751713988987e9331980363e24189ce",
|
|
|
"message": "删除成功."
|
|
|
}
|
|
|
|
|
|
```
|
|
|
|
...
|
...
|
|