...
|
...
|
@@ -2,7 +2,7 @@ |
|
|
|
|
|
### 查询资源
|
|
|
|
|
|
> `/resources/query`
|
|
|
> `/resources/queryResource`
|
|
|
|
|
|
#### 入参
|
|
|
|
...
|
...
|
@@ -121,6 +121,7 @@ sort_list: |
|
|
|id |是 |int |8 |资源id |
|
|
|
|
|
|
### 返回
|
|
|
|
|
|
{
|
|
|
"code": 200,
|
|
|
"data": {
|
...
|
...
|
@@ -188,7 +189,6 @@ row: |
|
|
|createTime |创建时间 |
|
|
|
|
|
|
### 资源新增页面
|
|
|
|
|
|
'/resources/resourcesAddPage'
|
|
|
|
|
|
### 返回
|
...
|
...
|
@@ -242,7 +242,8 @@ sort_list: |
|
|
|
|
|
|
|
|
### 通过id删除资源
|
|
|
'resources/deleteResourceById'
|
|
|
|
|
|
>'resources/deleteResourceById'
|
|
|
|
|
|
#### 入参
|
|
|
-----------------------------------------------------------
|
...
|
...
|
@@ -251,14 +252,16 @@ sort_list: |
|
|
|id |是 |int |614 |资源id |
|
|
|
|
|
|
#### 返回
|
|
|
|
|
|
{
|
|
|
"code": 200,
|
|
|
"data": [],
|
|
|
"md5": "d751713988987e9331980363e24189ce",
|
|
|
"message": "删除成功."
|
|
|
"code": 200,
|
|
|
"data": [],
|
|
|
"md5": "d751713988987e9331980363e24189ce",
|
|
|
"message": "删除成功."
|
|
|
}
|
|
|
|
|
|
### 新增/修改资源
|
|
|
|
|
|
>'/resources/saveResource'
|
|
|
|
|
|
#### 入参
|
...
|
...
|
@@ -274,8 +277,8 @@ sort_list: |
|
|
|
|
|
#### 返回
|
|
|
{
|
|
|
"code": 200,
|
|
|
"message": "资源添加成功!"
|
|
|
"code": 200,
|
|
|
"message": "资源添加成功!"
|
|
|
}
|
|
|
|
|
|
|
...
|
...
|
@@ -283,7 +286,7 @@ sort_list: |
|
|
|
|
|
### 查询所有的资源分类
|
|
|
|
|
|
> `/resources/sorts`
|
|
|
> `/resources/getResSorts`
|
|
|
|
|
|
#### 返回
|
|
|
|
...
|
...
|
@@ -314,7 +317,7 @@ sort_list: |
|
|
|status |状态码 |
|
|
|
|
|
|
### 新增资源分类
|
|
|
>'/resources/addResourcesSort'
|
|
|
>'/resources/addResSort'
|
|
|
|
|
|
#### 入参
|
|
|
-------------------------
|
...
|
...
|
@@ -326,14 +329,14 @@ sort_list: |
|
|
|
|
|
#### 返回
|
|
|
{
|
|
|
"code": 200,
|
|
|
"data": [],
|
|
|
"md5": "d751713988987e9331980363e24189ce",
|
|
|
"message": "添加成功."
|
|
|
"code": 200,
|
|
|
"data": [],
|
|
|
"md5": "d751713988987e9331980363e24189ce",
|
|
|
"message": "添加成功."
|
|
|
}
|
|
|
|
|
|
### 通过资源分类id获取编辑页面需要的信息(List<platform> 和 ResourcesSort)
|
|
|
>'/resources/getResourcesSortEditViewById'
|
|
|
>'/resources/resSortEditPage'
|
|
|
|
|
|
#### 入参
|
|
|
|属性名称|类型|例子|说明|
|
...
|
...
|
@@ -393,7 +396,7 @@ result: |
|
|
|status |状态码 |
|
|
|
|
|
|
### 查询资源分类首页列表
|
|
|
>'/resources/resourcesSortIndex'
|
|
|
>'/resources/resSortIndex'
|
|
|
|
|
|
### 返回:
|
|
|
{
|
...
|
...
|
@@ -443,7 +446,7 @@ result: |
|
|
|
|
|
|
|
|
### 修改资源分类
|
|
|
>'/resources/updateResourcesSort'
|
|
|
>'/resources/updateResSort'
|
|
|
|
|
|
#### 入参
|
|
|
|属性名称|类型|例子|说明|
|
...
|
...
|
@@ -482,7 +485,7 @@ result: |
|
|
|
|
|
### 查询所有的平台
|
|
|
|
|
|
> `/resources/platforms`
|
|
|
> `/resources/findResPlatforms`
|
|
|
|
|
|
#### 入参
|
|
|
|
...
|
...
|
@@ -515,7 +518,7 @@ result: |
|
|
|status |状态码 |
|
|
|
|
|
|
### 根据id查询平台
|
|
|
>'/resources/getPlatformById'
|
|
|
>'/resources/getResPlatformById'
|
|
|
|
|
|
#### 入参
|
|
|
|属性名称|类型|例子|说明|
|
...
|
...
|
@@ -548,7 +551,7 @@ result: |
|
|
|
|
|
|
|
|
### 添加平台
|
|
|
'/resources/addPlatform'
|
|
|
'/resources/addResPlatform'
|
|
|
|
|
|
#### 入参
|
|
|
|属性名称|类型|例子|说明|
|
...
|
...
|
@@ -568,7 +571,7 @@ result: |
|
|
|
|
|
### 通过id更新平台
|
|
|
|
|
|
'resources/updatePlatform'
|
|
|
'resources/updateResPlatform'
|
|
|
|
|
|
#### 入参
|
|
|
|
...
|
...
|
@@ -588,7 +591,7 @@ result: |
|
|
}
|
|
|
|
|
|
### 通过id删除平台
|
|
|
'resources/deletePlatform'
|
|
|
'resources/deleteResPlatform'
|
|
|
|
|
|
#### 入参
|
|
|
|
...
|
...
|
|