|
|
|
@ -37,7 +37,11 @@ export const fetchOrderConversationsList = async (params) => {
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export const fetchConversationItemClose = async (body) => {
|
|
|
|
|
const getParams = body ? new URLSearchParams(body).toString() : '';
|
|
|
|
|
const { result } = await fetchJSON(`${API_HOST}/closeconversation?${getParams}`);
|
|
|
|
|
const { result } = await fetchJSON(`${API_HOST}/closeconversation`, body);
|
|
|
|
|
return result;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export const fetchCleanUnreadMsgCount = async (params) => {
|
|
|
|
|
const { errcode, result } = await fetchJSON(`${API_HOST}/clean_unread_msg_count`, params);
|
|
|
|
|
return errcode !== 0 ? {} : result;
|
|
|
|
|
};
|
|
|
|
|