Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
app-service
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Container Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
SuperHive
back-end
app-service
Commits
d6c384a1
Commit
d6c384a1
authored
May 06, 2020
by
zhangzc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改URL
parent
615a35c3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
DriverAccountController.java
...pp/module/account/controller/DriverAccountController.java
+1
-1
OwnerAccountController.java
...app/module/account/controller/OwnerAccountController.java
+1
-1
No files found.
src/main/java/com/esv/freight/app/module/account/controller/DriverAccountController.java
View file @
d6c384a1
...
@@ -315,7 +315,7 @@ public class DriverAccountController {
...
@@ -315,7 +315,7 @@ public class DriverAccountController {
* author 张志臣
* author 张志臣
* createTime 2020/05/06 11:00
* createTime 2020/05/06 11:00
**/
**/
@PostMapping
(
"/
account/
stop"
)
@PostMapping
(
"/stop"
)
public
EResponse
stopUsingAccount
(
@RequestBody
(
required
=
false
)
@Validated
(
ValidatorAccountExist
.
class
)
LoginForm
loginForm
)
{
public
EResponse
stopUsingAccount
(
@RequestBody
(
required
=
false
)
@Validated
(
ValidatorAccountExist
.
class
)
LoginForm
loginForm
)
{
appLoginService
.
stopUsing
(
loginForm
.
getPhone
());
appLoginService
.
stopUsing
(
loginForm
.
getPhone
());
...
...
src/main/java/com/esv/freight/app/module/account/controller/OwnerAccountController.java
View file @
d6c384a1
...
@@ -244,7 +244,7 @@ public class OwnerAccountController {
...
@@ -244,7 +244,7 @@ public class OwnerAccountController {
* author 张志臣
* author 张志臣
* createTime 2020/05/06 11:00
* createTime 2020/05/06 11:00
**/
**/
@PostMapping
(
"/
account/
stop"
)
@PostMapping
(
"/stop"
)
public
EResponse
stopUsingAccount
(
@RequestBody
(
required
=
false
)
@Validated
(
ValidatorAccountExist
.
class
)
LoginForm
loginForm
)
{
public
EResponse
stopUsingAccount
(
@RequestBody
(
required
=
false
)
@Validated
(
ValidatorAccountExist
.
class
)
LoginForm
loginForm
)
{
appLoginService
.
stopUsing
(
loginForm
.
getPhone
());
appLoginService
.
stopUsing
(
loginForm
.
getPhone
());
...
...
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