revert(order): 移除订单站内聊天,沟通统一走官方客服
- 删除 pages/order/chat、聊天接口/仓储方法/order_messages 建表与客户端 API - 买家「联系大神」、大神「联系老板」、大神详情「在线客服」、组局「私聊」统一改为 openSupportSheet(读取后台 customer_service 配置的客服微信/热线) - 保留派单实时通知与雷达/大厅轮询 - 114 套件/742 用例全绿;聊天接口线上已 404
这个提交包含在:
@@ -706,21 +706,6 @@ export async function getOrdersPool(options = {}) {
|
||||
return [];
|
||||
}
|
||||
|
||||
/**
|
||||
* 订单站内聊天(仅交易双方)
|
||||
*/
|
||||
export async function getOrderChat(orderId) {
|
||||
return http.get(`/orders/${encodeURIComponent(orderId)}/chat`);
|
||||
}
|
||||
|
||||
export async function sendOrderMessage(orderId, content) {
|
||||
return http.post(`/orders/${encodeURIComponent(orderId)}/chat/messages`, { content });
|
||||
}
|
||||
|
||||
export async function markOrderChatRead(orderId) {
|
||||
return http.post(`/orders/${encodeURIComponent(orderId)}/chat/read`, {});
|
||||
}
|
||||
|
||||
/**
|
||||
* 坐标反查行政区/地址(雷达顶部定位文案)
|
||||
*/
|
||||
|
||||
在新工单中引用
屏蔽一个用户