- 后台接口
- 客服
- 消息列表
- 客服会话
- im配置
- 会员等级
- 会员消息管理
- 会员企业认证
- 会员管理
- 会员留言
- 订单配置
- 配送类型
- 运费模板
- 地区管理
- 消息分类
- 邮箱模板管理
- 配送方式配置信息
- 许可证
- 相册图片管理
- 相册管理
- 友情链接
- 配置管理
- 清除缓存
- 上传密钥文件
- 发送测试邮件
- 保存显示配置
- 保存主题风格配置
- 保存商城设置-交易设置
- 保存店铺配置
- 保存配送设置-配送设置
- 保存支付配置
- 保存商城设置-商品设置
- 保存主题切换配置
- 保存消息设置-通知配置
- 保存商户配置
- 保存系统设置-邮箱配置
- 保存商城设置-客服设置
- 保存接口配置
- 保存分类页装修配置
- 保存商城设置-基础信息
- 保存会员认证配置
- 获取显示配置
- 保存售后配置
- 生成平台证书
- 获取支付配置
- 获取主题风格配置
- 获取商城设置-交易设置
- 获取店铺配置
- 获取主题切换配置
- 获取配送设置-配送设置
- 获取商城设置-商品设置
- 获取消息设置-通知配置
- 获取商户配置
- 获取系统设置-邮箱配置
- 获取接口配置
- 获取商城设置-客服设置
- 获取图标icon
- 根据配置编码获取配置
- 根据配置编码获取配置
- 获取分类页装修配置
- 获取商城设置-基础信息
- 获取基础配置
- 获取会员认证配置
- 获取售后配置
- 区号管理
- 库存日志
- 分销商品
- 分销业绩订单结算
- 分销员分组
- 分销内容管理
- 分销模式设置
- 素材分类
- 微信直播
- 限时折扣
- 积分签到
- 限时秒杀
- 充值余额
- 营销管理
- 满减活动
- 活动赠品
- 积分商品
- 优惠券
- 商品服务
- 商品分组
- 商品
- 商品属性模板
- 电子卡券组
- 电子卡券
- 评价管理
- 商品分类
- 品牌
- 订单商品
- 订单管理
- 售后管理
- 管理员消息
- 商家账户表
- 店铺商品分类表
- 店铺表
- 商家表
- 入驻申请
- 商户账户
- 登录控制器
- 翻译管理
- 语言关联
- 语言列表
- 货币管理
- 提现申请
- 充值记录
- 发票资质
- 退款记录
- 退款申请
- 交易日志
- 发票申请
- 示例
- 首页分类栏
- 售后申请表
- 装修组件
- 页面管理
- 文章分类
- 文章
- 供应商管理
- 权限
- 管理员列表
- 角色
- 文件访问控制器
- 会员积分日志
- 访问统计控制器
- 销售统计控制器
- 面板控制器
- 店铺资金变化
- 账户总览
- 管理员日志
- 店铺员工管理
- 店铺订单配置
- 视频相册信息后台管理接口
- 视频相册后台管理接口
- 商品询价
- 设置
- app版本管理
- 分销员列表控制器
- 提示管理
- 客户端接口
获取列表
GET
/im/conversation/conversation/list
客服会话
请求参数
Authorization
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token示例:
Authorization: Bearer ********************
Query 参数
page
integer <int32>
当前页码
size
integer <int32>
分页大小
sortField
string
排序字段
keyword
string
查询参数
sortOrder
string
显示顺序
status
integer <int32>
状态
shopId
integer <int32>
店铺id
lastServantId
integer <int32>
最后客服Id
userId
integer <int32>
用户Id
username
string
用户名
userFrom
string
用户来源
startTime
string
开始时间
endTime
string
结束时间
remark
string
会话备注
isDelete
integer <int32>
是否删除
Header 参数
X-Shop-Id
string
可选
默认值:
0
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET '/im/conversation/conversation/list' \
--header 'X-Shop-Id: 0'
返回响应
🟢200成功
*/*
Body
records
array[object (ImConversationVO) {15}]
可选
id
integer <int32>
ID
userId
integer <int32>
用户ID
lastServantId
integer <int32>
最后客服ID
addTime
string
添加时间
lastUpdateTime
string
最后更新时间
shopId
integer <int32>
店铺ID
userFrom
string
用户来源
status
integer <int32>
可选
remark
string
会话备注
summary
string
会话总结
isDelete
integer <int32>
是否删除
unreadMessageCount
integer <int64>
未读消息数量
user
object (UserVO)
用户信息
lastMessage
array[object (ImMessageVO) {15}]
最后一条消息
shop
object (ShopVO)
店铺信息
total
integer <int64>
可选
size
integer <int64>
可选
current
integer <int64>
可选
optimizeCountSql
object (PageImConversationVO)
可选
searchCount
object (PageImConversationVO)
可选
pages
integer <int64>
可选
示例
{
"records": [
{
"id": 0,
"userId": 0,
"lastServantId": 0,
"addTime": "string",
"lastUpdateTime": "string",
"shopId": 0,
"userFrom": "string",
"status": 0,
"remark": "string",
"summary": "string",
"isDelete": 0,
"unreadMessageCount": 0,
"user": {
"userId": 0,
"username": "string",
"nickname": "string",
"avatar": "string"
},
"lastMessage": [
{
"messageTypeText": "string",
"id": 0,
"conversationId": 0,
"content": {
"messageType": "string",
"content": "string",
"pic": "string",
"contentCategory": "string",
"order": {
"messageType": "string",
"orderId": 0,
"orderSn": "string",
"picUrl": "string",
"productName": "string",
"productNum": 0,
"totalAmount": 0,
"orderStatusName": "string"
},
"product": {
"messageType": "string",
"productId": 0,
"picUrl": "string",
"productName": "string",
"productSn": "string",
"productPrice": 0
}
},
"messageType": "string",
"type": 0,
"userId": 0,
"servantId": 0,
"sendTime": "string",
"status": 0,
"extend": {},
"pushStatus": 0,
"isRead": 0,
"shopId": 0,
"userFrom": "string"
}
],
"shop": {
"statusText": "string",
"shopId": 0,
"shopTitle": "string",
"addTime": "string",
"shopLogo": "string",
"clickCount": 0,
"status": 0,
"merchantId": 0,
"shopMoney": 0,
"frozenMoney": 0,
"contactMobile": "string",
"description": "string",
"kefuPhone": "string",
"kefuWeixin": "string",
"kefuLink": "string",
"isContactKefu": 0,
"kefuInlet": [
0
],
"hotProduct": [
{
"productId": 0,
"productName": "string",
"productSn": "string",
"productTsn": "string",
"productStock": 0,
"productPrice": 0,
"marketPrice": 0,
"shippingTplId": 0,
"productStatus": 0,
"productType": 0,
"categoryId": 0,
"brandId": 0,
"shopId": 0,
"keywords": "string",
"shopCategoryId": 0,
"checkStatus": 0,
"checkReason": "string",
"clickCount": 0,
"productWeight": 0,
"isPromote": 0,
"isPromoteActivity": 0,
"promotePrice": 0,
"promoteStartDate": 0,
"promoteEndDate": 0,
"seckillMaxNum": 0,
"productBrief": "string",
"productDesc": "string",
"picUrl": "string",
"picThumb": "string",
"picOriginal": "string",
"commentTag": "string",
"freeShipping": 0,
"integral": 0,
"addTime": 0,
"sortOrder": 0,
"storeSortOrder": 0,
"isDelete": 0,
"isBest": 0,
"isNew": 0,
"isHot": 0,
"lastUpdate": 0,
"remark": "string",
"giveIntegral": 0,
"rankIntegral": 0,
"suppliersId": 0,
"virtualSales": 0,
"limitNumber": 0,
"productCare": "string",
"productRelated": "string",
"productServiceIds": "string",
"isSupportReturn": 0,
"isSupportCod": 0,
"productVideo": "string",
"prepayPrice": 0,
"cardGroupId": 0,
"virtualSample": "string",
"paidContent": "string",
"noShipping": 0,
"fixedShippingType": 0,
"fixedShippingFee": 0
}
],
"newProduct": [
{
"productId": 0,
"productName": "string",
"productSn": "string",
"productTsn": "string",
"productStock": 0,
"productPrice": 0,
"marketPrice": 0,
"shippingTplId": 0,
"productStatus": 0,
"productType": 0,
"categoryId": 0,
"brandId": 0,
"shopId": 0,
"keywords": "string",
"shopCategoryId": 0,
"checkStatus": 0,
"checkReason": "string",
"clickCount": 0,
"productWeight": 0,
"isPromote": 0,
"isPromoteActivity": 0,
"promotePrice": 0,
"promoteStartDate": 0,
"promoteEndDate": 0,
"seckillMaxNum": 0,
"productBrief": "string",
"productDesc": "string",
"picUrl": "string",
"picThumb": "string",
"picOriginal": "string",
"commentTag": "string",
"freeShipping": 0,
"integral": 0,
"addTime": 0,
"sortOrder": 0,
"storeSortOrder": 0,
"isDelete": 0,
"isBest": 0,
"isNew": 0,
"isHot": 0,
"lastUpdate": 0,
"remark": "string",
"giveIntegral": 0,
"rankIntegral": 0,
"suppliersId": 0,
"virtualSales": 0,
"limitNumber": 0,
"productCare": "string",
"productRelated": "string",
"productServiceIds": "string",
"isSupportReturn": 0,
"isSupportCod": 0,
"productVideo": "string",
"prepayPrice": 0,
"cardGroupId": 0,
"virtualSample": "string",
"paidContent": "string",
"noShipping": 0,
"fixedShippingType": 0,
"fixedShippingFee": 0
}
],
"bestProduct": [
{
"productId": 0,
"productName": "string",
"productSn": "string",
"productTsn": "string",
"productStock": 0,
"productPrice": 0,
"marketPrice": 0,
"shippingTplId": 0,
"productStatus": 0,
"productType": 0,
"categoryId": 0,
"brandId": 0,
"shopId": 0,
"keywords": "string",
"shopCategoryId": 0,
"checkStatus": 0,
"checkReason": "string",
"clickCount": 0,
"productWeight": 0,
"isPromote": 0,
"isPromoteActivity": 0,
"promotePrice": 0,
"promoteStartDate": 0,
"promoteEndDate": 0,
"seckillMaxNum": 0,
"productBrief": "string",
"productDesc": "string",
"picUrl": "string",
"picThumb": "string",
"picOriginal": "string",
"commentTag": "string",
"freeShipping": 0,
"integral": 0,
"addTime": 0,
"sortOrder": 0,
"storeSortOrder": 0,
"isDelete": 0,
"isBest": 0,
"isNew": 0,
"isHot": 0,
"lastUpdate": 0,
"remark": "string",
"giveIntegral": 0,
"rankIntegral": 0,
"suppliersId": 0,
"virtualSales": 0,
"limitNumber": 0,
"productCare": "string",
"productRelated": "string",
"productServiceIds": "string",
"isSupportReturn": 0,
"isSupportCod": 0,
"productVideo": "string",
"prepayPrice": 0,
"cardGroupId": 0,
"virtualSample": "string",
"paidContent": "string",
"noShipping": 0,
"fixedShippingType": 0,
"fixedShippingFee": 0
}
]
}
}
],
"total": 0,
"size": 0,
"current": 0,
"optimizeCountSql": {},
"searchCount": {},
"pages": 0
}
修改于 2025-06-24 02:01:23