追踪定位
  1. 信息模块
追踪定位
  • 国家模块
    • 国家列表
      POST
  • 语言字典模块
    • 支持的语言列表
      POST
  • 短信模板模块
    • 获取短信模版
      POST
  • 信息模块
    • 未读消息提示 -- 5-10s 轮训一次
      POST
    • 消息列表
      POST
  • 记录模块
    • 记录位置信息
      POST
    • 分页获取用户追踪的手机号最新地址
      POST
  • 发送短信和手机号校验
    • 发送短信
      POST
    • 手机号检验
      POST
  • 用户
    • 登录
      POST
    • 用户注册接口
      POST
    • 校验token是否有效并返回套餐信息
      POST
    • 用户支付成功发送登录密码到邮箱
      POST
    • 发送重置密码邮件到邮箱
      POST
    • 邮箱更新
      POST
    • 密码更新
      POST
    • 忘记密码更新
      POST
    • 邮箱校验
      POST
    • 获取试用期价格配置
      POST
  • 订阅模块
    • 创建支付意图
      POST
    • 取消订阅
      POST
  1. 信息模块

消息列表

测试中
POST
/app/api/v1/notification/list

请求参数

Header 参数
Authorization
string 
必需
示例值:
token
Body 参数application/json
current
integer 
当前页
必需
分页获取消息列表 1开始
示例
{
    "current": 0
}

示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '45.79.68.121:6688/app/api/v1/notification/list' \
--header 'Authorization: token' \
--header 'Content-Type: application/json' \
--data-raw '{
    "current": 0
}'

返回响应

🟢200成功
application/json
Body
code
integer 
必需
message
string 
必需
result
object 
必需
list
array [object {4}] 
消息列表
必需
pageNum
integer 
总页数
必需
total
integer 
总条数
必需
current
integer 
当前页
必需
示例
{
    "code": 0,
    "message": "string",
    "result": {
        "list": [
            {
                "isRead": 0,
                "messageType": 0,
                "notificationDate": "string",
                "text": "string"
            }
        ],
        "pageNum": 0,
        "total": 0,
        "current": 0
    }
}
修改于 2023-08-21 08:37:13
上一页
未读消息提示 -- 5-10s 轮训一次
下一页
记录位置信息
Built with