Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gs1-office-web-sit
Overview
Overview
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
吴迪
gs1-office-web-sit
Commits
4d833549
Commit
4d833549
authored
Dec 15, 2021
by
吴迪
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
625b0a0c
7ba966f8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
4 deletions
+7
-4
LogLoginController.java
.../office/modules/manage/controller/LogLoginController.java
+2
-4
DomesticCodeVo.java
...a/io/office/modules/manage/vo/request/DomesticCodeVo.java
+5
-0
No files found.
src/main/java/io/office/modules/manage/controller/LogLoginController.java
View file @
4d833549
...
...
@@ -42,8 +42,6 @@ public class LogLoginController {
private
SysCaptchaService
sysCaptchaService
;
/**
* 用户登录
*/
...
...
@@ -51,11 +49,11 @@ public class LogLoginController {
@Login
// @RequiresPermissions("manage:member:list")
public
R
login
(
@RequestBody
Map
<
String
,
Object
>
params
,
HttpServletRequest
request
,
HttpServletResponse
response
){
/*DomesticCodeVo domesticCodeVo = new DomesticCodeVo(
);
DomesticCodeVo
domesticCodeVo
=
new
DomesticCodeVo
(
params
.
get
(
"uuid"
).
toString
(),
params
.
get
(
"captcha"
).
toString
()
);
boolean
captcha
=
sysCaptchaService
.
validate
(
domesticCodeVo
.
getUuid
(),
domesticCodeVo
.
getCaptcha
());
if
(!
captcha
){
return
R
.
error
(
"验证码不正确"
);
}
*/
}
return
R
.
ok
().
put
(
"data"
,
logLoginService
.
login
(
params
,
request
,
response
));
}
...
...
src/main/java/io/office/modules/manage/vo/request/DomesticCodeVo.java
View file @
4d833549
...
...
@@ -17,6 +17,11 @@ public class DomesticCodeVo implements Serializable {
private
String
captcha
;
private
String
uuid
;
public
DomesticCodeVo
(
String
uuid
,
String
captcha
)
{
this
.
captcha
=
captcha
;
this
.
uuid
=
uuid
;
}
private
String
type
;
private
String
code
;
...
...
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