# 发送留言

接口地址 /openapi/common/schoolGeneralApi/voipSendMsg/v1

请求方式 post

consumes ["application/json"]

请求参数

参数名称 说明 参数类型 是否必须 类型
schoolUserId 校园用户ID body true string
userLinkId 联系人id body true string
msg 消息内容 body true string

返回参数

参数名称 说明 类型
msg 消息内容 string
user_link_id 联系人ID string
create_time 消息发送时间戳 string
org_user_id 学生ID string
msg_user_role 留言身份 null/1:家长留言 2.学生留言 string
status 消息状态 1:未读 2:已读 string

响应示例

{
    "code": 200,
    "msg": "修改成功",
    "obj": {
        "data": [
            {
                "msg": "testtest1",
                "user_link_id": "1587650496938725377",
                "create_time": 1691375359000,
                "org_user_id": "1585916971446136832",
                "msg_user_role": 1,
                "merchant_id": "1567691825681027072",
                "status": 1
            },
            {
                "msg": "testtest1",
                "user_link_id": "1587650496938725377",
                "create_time": 1691375296000,
                "org_user_id": "1585916971446136832",
                "msg_user_role": 1,
                "merchant_id": "1567691825681027072",
                "status": 1
            }
        ],
        "total": 2,
        "totalPage": 1
    },
	"sign": "df951a83e3fc7462241752dd7e65398b"
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
上次更新: 8/7/2023, 3:22:36 AM