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
c61f8e61
Commit
c61f8e61
authored
May 18, 2020
by
zhangzc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改返回码
parent
20620d53
Changes
2
Show 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 @
c61f8e61
...
@@ -179,7 +179,7 @@ public class DriverAccountController {
...
@@ -179,7 +179,7 @@ public class DriverAccountController {
if
(
AccountConstants
.
AUDIT_STATUS_CHECK_SUCCESS
.
equals
(
driverAccountInfoPojo
.
getAuditStatus
()))
{
if
(
AccountConstants
.
AUDIT_STATUS_CHECK_SUCCESS
.
equals
(
driverAccountInfoPojo
.
getAuditStatus
()))
{
// 校验帐号状态:1-正常、2-停用
// 校验帐号状态:1-正常、2-停用
if
(
AccountConstants
.
ACCOUNT_STATUS_BLOCK
.
equals
(
driverAccountInfoPojo
.
getAccountStatus
()))
{
if
(
AccountConstants
.
ACCOUNT_STATUS_BLOCK
.
equals
(
driverAccountInfoPojo
.
getAccountStatus
()))
{
return
EResponse
.
error
(
100
3
,
"帐号已停用"
);
return
EResponse
.
error
(
100
4
,
"帐号已停用"
);
}
}
}
}
...
...
src/main/java/com/esv/freight/app/module/account/controller/OwnerAccountController.java
View file @
c61f8e61
...
@@ -124,7 +124,7 @@ public class OwnerAccountController {
...
@@ -124,7 +124,7 @@ public class OwnerAccountController {
if
(
AccountConstants
.
AUDIT_STATUS_CHECK_SUCCESS
.
equals
(
ownerAccountInfoPojo
.
getAuditStatus
()))
{
if
(
AccountConstants
.
AUDIT_STATUS_CHECK_SUCCESS
.
equals
(
ownerAccountInfoPojo
.
getAuditStatus
()))
{
// 校验帐号状态:1-正常、2-停用
// 校验帐号状态:1-正常、2-停用
if
(
AccountConstants
.
ACCOUNT_STATUS_BLOCK
.
equals
(
ownerAccountInfoPojo
.
getAccountStatus
()))
{
if
(
AccountConstants
.
ACCOUNT_STATUS_BLOCK
.
equals
(
ownerAccountInfoPojo
.
getAccountStatus
()))
{
return
EResponse
.
error
(
100
3
,
"帐号已停用"
);
return
EResponse
.
error
(
100
4
,
"帐号已停用"
);
}
}
}
}
...
...
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