文档
测试

刷新公司快讯

POST
refresh_flash

接口描述

刷新公司快讯

请求头

参数名
类型
描述
必填
flash_id
int
示例:11
必填

请求参数

参数名
类型
描述
必填
flash_id
int
快讯id
必填

响应参数

参数名
类型
描述
必填
code
int
示例:1
必填
msg
string
示例:刷新成功
必填
data
array
数据列表
必填
flash_id
int
示例:12
必填
user_id
int
示例:1
必填
title
string
示例:新到水果
必填
reading_volume
int
示例:1
必填
public_time
string
示例:2020-05-01 09:50:01
必填
content_list
array
数据列表
必填
flash_content_id
int
示例:1
必填
flash_id
int
示例:12
必填
content
string
示例:内容1
必填
image
object
数据字典
必填
image_id
int
示例:2
必填
image_url
string
示例:61361763.jpg
必填
image_name
string
示例:Kitty猫
必填
width
int
示例:1
必填
height
int
示例:2
必填
image_type
string
示例:头像
必填
image_describe
string
示例:图片描述
必填

说明 / 示例

### 上传json #### {"flash_id":11} ### 响应json #### 失败 { "code": 0, "msg": "刷新失败" } #### 成功 #### 没有数据 { "code": 1, "msg": "没有更多数据", data:[] } #### 有数据 { "code": 1, "msg": "刷新成功", "data": [{ "flash_id":12, "user_id": 1, "title": "新到水果", "reading_volume": 1, "public_time": "2020-05-01 09:50:01", "content_list": [{ "flash_content_id": 1, "flash_id": 12, "content": "内容1", "image":{ "image_id": 2, "image_url": "61361763.jpg", "image_name": "Kitty猫", "width": 1, "height": 2, "image_type": "头像", "image_describe": "图片描述" } }, { "flash_content_id": 1, "flash_id": 12, "content": "内容3", "image": { "image_id": 3, "image_url": "61361763.jpg", "image_name": "Kitty猫", "width": 1, "height": 2, "image_type": "头像", "image_describe": "图片描述" } } ] } ] }