Commit c61f8e61 authored by zhangzc's avatar zhangzc

修改返回码

parent 20620d53
...@@ -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(1003, "帐号已停用"); return EResponse.error(1004, "帐号已停用");
} }
} }
......
...@@ -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(1003, "帐号已停用"); return EResponse.error(1004, "帐号已停用");
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment