文档
测试

updateArticle(更新文章)

POST
http://localhost:8081/article/updateArticle

接口描述

通过id修改文章

请求参数

参数名
类型
描述
必填
title
string
必填
content
string
必填
tid
long
必填
articleType
string
必填
publishDate
date
必填
articleRouting
string
必填
pictureRouting
string
必填
state
Integer
必填
aid
long
必填

响应参数

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

说明 / 示例

if (result == 1) { return new RespBean("success", article.getId() + "号文章修改成功"); } else { return new RespBean("error", "文章修改失败!"); }