后台管理IM通信


推送

请求URL
  • http://xx.com/systemAnnouncement/add
Headers
  • token
请求方式
  • POST
参数
参数名 必选 类型 说明
type int 类型 1文本 2图片
title string 标题
content string 内容,type为1时必填
main_img string 封面图,type为2时必填
detail_img array 图片明细,type为2时必填
请求示例
{
    "type": 2,
    "title": "文本",
    "content": "文本内容",
    "main_img": "http://publicceshi.oss-cn-hangzhou.aliyuncs.com/tangfen/20211213/2021121314174661b6e58a1e039.png",
    "detail_img": [
        "http://publicceshi.oss-cn-hangzhou.aliyuncs.com/tangfen/20211213/2021121314174661b6e58a1e039.png",
        "http://publicceshi.oss-cn-hangzhou.aliyuncs.com/tangfen/20211213/2021121314174661b6e58a1e039.png"
    ]
}
返回示例
{
    "error_code": 0,
    "msg": "success",
    "data": []
}
返回参数说明
参数名 类型 说明
error_code int 0成功
msg string success
备注
  • 更多返回错误代码请看首页的错误代码描述

页面列表

ITEM_HTML