Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
S
sup-server
Project
Project
Details
Activity
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
Administrator
sup-server
Commits
e5530cb8
Commit
e5530cb8
authored
Nov 22, 2022
by
tyn
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://47.105.106.177:66/root/sup-server
parents
9c866ac7
9e701eef
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
715 additions
and
272 deletions
+715
-272
.gitignore
.gitignore
+5
-0
login.js
dsk-srm-server/src/api/login.js
+9
-6
login.vue
dsk-srm-server/src/login.vue
+227
-223
register.vue
dsk-srm-server/src/register.vue
+472
-42
UserController.java
...java/com/supServer/project/controller/UserController.java
+2
-1
No files found.
.gitignore
0 → 100644
View file @
e5530cb8
################################################################################
# 此 .gitignore 文件已由 Microsoft(R) Visual Studio 自动创建。
################################################################################
/dsk-srm-server/.vs
dsk-srm-server/src/api/login.js
View file @
e5530cb8
...
...
@@ -55,19 +55,22 @@ export const getCategoryList = (data) => network({
data
});
export
const
uploadFile
=
(
data
)
=>
network
({
url
:
"/file/uploadFile"
,
method
:
"post"
,
data
});
export
const
register
=
(
data
)
=>
network
({
url
:
"/register"
,
method
:
"post"
,
data
});
export
const
updatePassApi
=
(
data
)
=>
network
({
url
:
"/system/userInfo/resetPwd"
,
method
:
"post"
,
data
});
export
const
uploadFile
=
(
data
)
=>
network
({
url
:
"/file/uploadFile"
,
method
:
"post"
,
data
,
headers
:
{
'Content-Type'
:
'multipart/form-data'
},
});
dsk-srm-server/src/login.vue
View file @
e5530cb8
This diff is collapsed.
Click to expand it.
dsk-srm-server/src/register.vue
View file @
e5530cb8
This diff is collapsed.
Click to expand it.
src/main/java/com/supServer/project/controller/UserController.java
View file @
e5530cb8
...
...
@@ -174,8 +174,9 @@ public class UserController {
*@return:
*/
@GetMapping
(
"/logOut"
)
public
void
logOut
(){
public
AjaxResult
logOut
(){
tokenService
.
resetPwd
(
getLoginUser
().
getUserId
());
return
AjaxResult
.
success
();
}
...
...
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