Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
9
91isoft_vue_manage
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
杨硕
91isoft_vue_manage
Commits
147cb07a
Commit
147cb07a
authored
Jan 18, 2024
by
张伯涛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
headers删除
parent
e41bdfdc
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
10 additions
and
25 deletions
+10
-25
login.js
src/api/login.js
+1
-3
errorLog.js
src/api/monitor/errorLog.js
+2
-5
loginInfo.js
src/api/monitor/loginInfo.js
+3
-6
operLog.js
src/api/monitor/operLog.js
+2
-5
post.js
src/api/system/post.js
+2
-6
No files found.
src/api/login.js
View file @
147cb07a
...
...
@@ -17,9 +17,7 @@ export function login(username, password, code, uuid) {
data
:
Qs
.
stringify
({
sign
:
encrypt
(
data
)
}),
headers
:
{
'Content-Type'
:
'application/x-www-form-urlencoded'
}
headers
:
{}
})
}
// 刷新token
...
...
src/api/monitor/errorLog.js
View file @
147cb07a
...
...
@@ -19,14 +19,11 @@ export function list(query) {
// 删除异常日志
export
function
delErrLog
(
data
)
{
//
data = Qs.stringify(data)
data
=
Qs
.
stringify
(
data
)
return
request
({
url
:
'/monitor/errorLog/delete'
,
method
:
'post'
,
data
,
headers
:
{
'Content-Type'
:
'application/json;charset=UTF-8'
}
data
:
data
})
}
...
...
src/api/monitor/loginInfo.js
View file @
147cb07a
...
...
@@ -19,14 +19,11 @@ export function list(query) {
// 删除登录日志
export
function
delLogininfo
(
data
)
{
//
data = Qs.stringify(data)
data
=
Qs
.
stringify
(
data
)
return
request
({
url
:
'/monitor/loginInfo/delete'
,
method
:
'post'
,
data
,
headers
:
{
'Content-Type'
:
'application/json;charset=UTF-8'
}
data
:
data
})
}
...
...
@@ -35,7 +32,7 @@ export function cleanLogininfo(query) {
return
request
({
url
:
'/monitor/loginInfo/clean'
,
method
:
'delete'
,
params
:
query
,
params
:
query
})
}
...
...
src/api/monitor/operLog.js
View file @
147cb07a
...
...
@@ -19,14 +19,11 @@ export function list(query) {
// 删除操作日志
export
function
delOperLog
(
data
)
{
//
data = Qs.stringify(data)
data
=
Qs
.
stringify
(
data
)
return
request
({
url
:
'/monitor/operLog/delete'
,
method
:
'post'
,
data
,
headers
:
{
'Content-Type'
:
'application/json;charset=UTF-8'
}
data
:
data
})
}
...
...
src/api/system/post.js
View file @
147cb07a
...
...
@@ -24,9 +24,7 @@ export function addPost(data) {
url
:
'/system/post/add'
,
method
:
'post'
,
data
:
data
,
headers
:
{
'Content-Type'
:
'application/x-www-form-urlencoded'
}
headers
:
{}
})
}
...
...
@@ -38,9 +36,7 @@ export function updatePost(data) {
url
:
'/system/post/update/'
+
businessId
,
method
:
'put'
,
data
:
data
,
headers
:
{
'Content-Type'
:
'application/x-www-form-urlencoded'
}
headers
:
{}
})
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment