# 用户留言

# 简要描述

-用户留言

# 请求URL
  • /api/messageBoard
# 请求头
参数名 必选 类型 说明
Content-Type string 此参数必传,当请求数据非json时此参数传对应格式如(multipartform-data,application/x-www-form-urlencoded,等)是json请传application/json
askKey string 此参数必传,验证app的令牌
sign string 此参数如果在app设置开启了验签是必传
time string 当开启验签时,此参数为必传
apiUserToken string 用户令牌
nonce string 随机字符串(当开启V3验签此参数必传,且2分钟内不允许重复)
# 请求方式
  • post
# 参数
参数名 必选 类型 说明
content string 留言内容
id string 留言id
mac string 设备号
# 请求示例
{
    "id":"805650974934327296",
    "content":"1111"
}



1
2
3
4
5
6
7
# 返回示例
{
    "code": "200",
    "message": "",
    "status": true,
    "data": {
        "id": "805650974934327296",
        "createdDate": "2023-04-11 14:16:10",
        "modifiedDate": "2023-04-11 14:16:10",
        "status": 1,
        "ip": "127.0.0.1",
        "managementId": "698119193918787584",
        "appId": "793798459804639232",
        "content": "1111"
    },
    "pc": null,
    "time": null,
    "sign": null
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# 返回参数说明
参数名 类型 说明
code string 状态码200成功403权限异常或登陆超时,500请求异常
status int 状态0删除1使用
data json 内容
id string id
content string 内容
createdDate string 留言时间
nonce string 随机字符串(当开启V3验签必返回次参数,且2分钟内不会重复)
sign string 此参数如果在app设置开启了验签是必返
time long 当开启验签时,此参数为必返回
# 备注
  • 更多返回错误代码请看首页的错误代码描述
lastUpdate: 11/6/2025, 1:56:28 PM