文档
测试

update(根据id更新)

POST
http://localhost:8081/top/update

请求参数

参数名
类型
描述
必填
topName
string
必填
topType
string
必填
topRoute
string
必填
tabId
long
必填
sort
integer
必填
topId
long
必填

响应参数

参数名
类型
描述
必填
RespBean
自定义类
必填

说明 / 示例

if (result == 1) { return new RespBean("success", top.getTopName()+" 修改成功"); } else { return new RespBean("error", top.getTopName()+" 修改失败"); }