Toggle navigation
Toggle navigation
This project
Loading...
Sign in
jiujian
/
client-customer-order-api
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
Authored by
zhuyifan
2025-03-03 15:13:49 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
1df5577608fc0e2b923166333eb334a3a4ca174a
1df55776
1 parent
6212f20d
fix
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
src/main/java/com/infoloop/tianting/controller/LoginController.java
src/main/java/com/infoloop/tianting/controller/LoginController.java
View file @
1df5577
...
...
@@ -18,6 +18,7 @@ import org.springframework.web.bind.annotation.ResponseStatus;
import
org.springframework.web.bind.annotation.RestController
;
import
javax.validation.Valid
;
import
java.security.NoSuchAlgorithmException
;
@Api
(
tags
=
"登陆"
)
@ApiSupport
(
order
=
-
1
)
...
...
@@ -32,7 +33,7 @@ public class LoginController {
@ApiOperation
(
value
=
"登陆"
)
@PostMapping
(
"/login"
)
@ResponseStatus
(
HttpStatus
.
OK
)
public
SaTokenInfo
login
(
@Valid
@RequestBody
PermissionDTO
.
LoginDto
loginDto
)
{
public
SaTokenInfo
login
(
@Valid
@RequestBody
PermissionDTO
.
LoginDto
loginDto
)
throws
NoSuchAlgorithmException
{
return
loginService
.
login
(
loginDto
);
}
}
...
...
Please
register
or
login
to post a comment