文档
测试

addone(添加一个)

POST
http://123.56.153.47:8081/ht/thirdlist/addone

接口描述

增加

请求参数

multipart/form-data
参数名
类型
描述
必填
title
string
示例:测试
可选
componentType
string
示例:1
可选
route
String
示例:
可选
topcollectionId
Long
示例:1
可选
sort
Integer
可选
fixed
Integer
可选

响应参数

application/json
参数名
类型
描述
必填
RespBean
自定义类
用于描述返回的信息
必填
status
String
成功与否
必填
msg
String
返回信息
必填

说明 / 示例

```language if (result == 1) { return new RespBean("success", topCollection.getTopCollectionName()+" 添加成功"); } else { return new RespBean("error", topCollection.getTopCollectionName()+" 添加失败"); } ``` 返回的参数(部分代码)