WorkPro Manual

新增公告

[Api Test]

Url

[接口服务器地址]/addon_announce/api/create.html

Method

POST

Request Headers

Name 必选 Type Description
Content-Type true string application/json; charset=UTF-8
authen true string Authen 什么是认证码
appid true string AppID 什么是接入ID
timestamp true string Timestamp
uid true string UID
lang true string Language zh-cn,en-us

Request Body

Name 必选 Type Description
title true string 名称
intro true string 简介 不得超过50个字
cover false string 封面 URL地址
content true string 描述
is_all true int 是否所有人 0 表示指定人 1 表示所有人
recvers true array 接收人
attachs false array 附件
from true string from
istop true int 是否置顶 0 不置顶 1置顶

Debug Tool

Test

Return

            {"status":1,"code":0,"msg":"","data":{"id":"1","title":"测试1","intro":"测试1","recvers":[{"id":"2","name":"用户2"}],"attachs":[]}}