1.0.0 • Published 2 years ago

@vestleader/layouts v1.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

接口

获取消息数量

接口名: /staff/messageCount GET 参数: { /**

  • 用户unionId */ unionId: string /**
  • 消息状态 */ status: number /**
  • 应用agentId */ agentId: string } 返回:{ data: 9 // 数量 }

分页获取消息

接口名:/staff/message GET 参数: { /**

  • 页码 */ page /**
  • 筛选条件:JSON.stringfy({ unionId, status, agentId }) */ query }

将消息置为已读

接口名: /staff/readMsg PUT 参数:{ /**

  • 消息id数组 */ messageIds: string[] }

退出登录

接口名: /logout POST

切换部门

接口名: /reSignJwt GET