修改获取消息数量接口
Showing
2 changed files
with
4 additions
and
2 deletions
| ... | @@ -160,8 +160,8 @@ export const getAllMessageList = (params) => request({ | ... | @@ -160,8 +160,8 @@ export const getAllMessageList = (params) => request({ |
| 160 | /** 获取消息数目 */ | 160 | /** 获取消息数目 */ |
| 161 | export const getMessageCount = (params) => request({ | 161 | export const getMessageCount = (params) => request({ |
| 162 | url: `${import.meta.env.VITE_API_MESSAGE}/message/get-message-count`, | 162 | url: `${import.meta.env.VITE_API_MESSAGE}/message/get-message-count`, |
| 163 | method: 'get', | 163 | method: 'post', |
| 164 | params | 164 | data: params |
| 165 | }) | 165 | }) |
| 166 | 166 | ||
| 167 | /** 将消息状态更新为已读 */ | 167 | /** 将消息状态更新为已读 */ | ... | ... |
| ... | @@ -275,6 +275,8 @@ const createServerConnect = () => { | ... | @@ -275,6 +275,8 @@ const createServerConnect = () => { |
| 275 | const getMsgCnt = () => { | 275 | const getMsgCnt = () => { |
| 276 | msgCntPromise.value = getMessageCount({ | 276 | msgCntPromise.value = getMessageCount({ |
| 277 | // tenantGuid: userData.tenantGuid, | 277 | // tenantGuid: userData.tenantGuid, |
| 278 | appSide: 1, | ||
| 279 | systemGuid: SystemGuid, | ||
| 278 | staffGuid: userData.staffGuid | 280 | staffGuid: userData.staffGuid |
| 279 | }).then((res: any) => { | 281 | }).then((res: any) => { |
| 280 | msgCntPromise.value = null; | 282 | msgCntPromise.value = null; | ... | ... |
-
Please register or sign in to post a comment