1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- import request from '../utils/request'
- //查询会话记录列表
- export function getList(data) {
- return request({
- url: `/core/conversation/list`,
- method: 'post',
- data
- })
- }
- //发送
- export function sendMsg(data) {
- return request({
- url: `/core/conversation/sendMsg`,
- method: 'post',
- data
- })
- }
- //订单页面 点击沟通 获取会话记录详细信息
- export function getOrderConversationInfo(data) {
- return request({
- url: `/core/conversation/getOrderConversationInfo`,
- method: 'post',
- data
- })
- }
- //消息列表页面 点击会话 获取会话记录详细信息
- export function getListConversationInfo(params) {
- return request({
- url: `/core/conversation/getListConversationInfo`,
- method: 'get',
- params
- })
- }
- //打开会话框时,设置已读
- export function setRead(data) {
- return request({
- url: `/core/conversation/setRead`,
- method: 'post',
- data
- })
- }
|