文档
测试

新建: 提交并发布文章/海报

POST
http://localhost:8000/spmp/insArticleInfo/create

接口描述

新建并发布文章/海报

请求参数

参数名
类型
描述
必填
articleType
integer
0:文章, 1:海报
必填
articleTitle
string
标题
必填
articleContent
string
文章正文/ 海报地址
必填

响应参数

参数名
类型
描述
必填
code
string
示例:0000
必填
msg
string
示例:成功
必填
data
boolean
示例:true
必填

说明 / 示例

## 示例1 - 请求参数 { "articleContent": "双方都奥德赛发多多多多多多风沙中心", "articleTitle": "打发顺丰", "articleType": 0 } - 响应 { "code": "0000", "msg": "成功", "data": true } ## 示例2 创建poster - 请求 { "articleContent": "https://upload-images.jianshu.io/upload_images/288284-462ca17bd6f388c0.png?imageMogr2/auto-orient/strip|imageView2/2/format/webp", "articleTitle": "dsa打算顺丰", "articleType": 1 } - 响应 { "code": "0000", "msg": "成功", "data": true }