2fe1addd by lihua

修改获取消息数量接口

1 parent 135cddba
......@@ -160,8 +160,8 @@ export const getAllMessageList = (params) => request({
/** 获取消息数目 */
export const getMessageCount = (params) => request({
url: `${import.meta.env.VITE_API_MESSAGE}/message/get-message-count`,
method: 'get',
params
method: 'post',
data: params
})
/** 将消息状态更新为已读 */
......
......@@ -275,6 +275,8 @@ const createServerConnect = () => {
const getMsgCnt = () => {
msgCntPromise.value = getMessageCount({
// tenantGuid: userData.tenantGuid,
appSide: 1,
systemGuid: SystemGuid,
staffGuid: userData.staffGuid
}).then((res: any) => {
msgCntPromise.value = null;
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!