// 客服聊天相关接口

import { get, post } from '@/core/http/http-client'

/** 发送客服问候消息 */
export async function sendChatHello(params) {
	return post('/wanlshop/chat/hello', params)
}

/** 发送客服聊天消息 */
export async function sendChatMessage(params) {
	return post('/wanlshop/chat/service', params)
}

/** 获取上传配置 */
export async function getUploadConfig() {
	const { data } = await get('/wanlshop/common/uploadData')
	return data
}