Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
csbr-daop
/
fe-data-trusted-space
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
2fe1addd
authored
2025-01-21 16:11:48 +0800
by
lihua
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改获取消息数量接口
1 parent
135cddba
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
src/api/modules/queryService.ts
src/layouts/index.vue
src/api/modules/queryService.ts
View file @
2fe1add
...
...
@@ -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
:
'
ge
t'
,
params
method
:
'
pos
t'
,
data
:
params
})
/** 将消息状态更新为已读 */
...
...
src/layouts/index.vue
View file @
2fe1add
...
...
@@ -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
;
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment