Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gxpt_ht
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
pseer
gxpt_ht
Commits
7920cab0
Commit
7920cab0
authored
Oct 19, 2023
by
wuwenlong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
computer order price service dev;
parent
055953c1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
LoginController.java
...ain/java/share/web/controller/system/LoginController.java
+3
-3
No files found.
share-front/src/main/java/share/web/controller/system/LoginController.java
View file @
7920cab0
...
...
@@ -43,7 +43,7 @@ public class LoginController {
/**
* 手机号登录接口
*/
@ApiOperation
(
value
=
"手机号登录接口"
)
//
@ApiOperation(value = "手机号登录接口")
@RequestMapping
(
value
=
"/login/mobile"
,
method
=
RequestMethod
.
POST
)
public
R
<
LoginResponse
>
phoneLogin
(
@RequestBody
@Validated
LoginMobileRequest
loginRequest
)
{
if
(
"1"
.
equals
(
redisUtil
.
frontInOutLogSwitch
()))
{
...
...
@@ -60,7 +60,7 @@ public class LoginController {
/**
* 账号密码登录
*/
@ApiOperation
(
value
=
"账号密码登录"
)
//
@ApiOperation(value = "账号密码登录")
@RequestMapping
(
value
=
"/login"
,
method
=
RequestMethod
.
POST
)
public
R
<
LoginResponse
>
login
(
@RequestBody
@Validated
LoginRequest
loginRequest
)
{
if
(
"1"
.
equals
(
redisUtil
.
frontInOutLogSwitch
()))
{
...
...
@@ -77,7 +77,7 @@ public class LoginController {
/**
* 退出登录
*/
@ApiOperation
(
value
=
"退出"
)
//
@ApiOperation(value = "退出")
@RequestMapping
(
value
=
"/logout"
,
method
=
RequestMethod
.
GET
)
public
R
<
String
>
loginOut
(
HttpServletRequest
request
){
loginService
.
loginOut
(
request
);
...
...
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