|
@@ -335,8 +335,8 @@ public class AdminUserLogic {
|
|
|
if ((curAdminUser.getType() == 1 && !curAdminUser.getIsMaster()) || (curAdminUser.getType() == 0 && !curAdminUser.getIsMaster())) {
|
|
|
throw new RemoteServiceException("账号有”归属网点“属性,超级管理员或商户主账号或网点主账号才有重置密码的权限");
|
|
|
}
|
|
|
- } else if (resetAdminUser.getType() == 0 && curAdminUser.getType() == 1 && !curAdminUser.getIsMaster()) {
|
|
|
- throw new RemoteServiceException("“网点账号”,超级管理员或商户主账号才有重置密码的权限");
|
|
|
+// } else if (resetAdminUser.getType() == 0 && curAdminUser.getType() == 1 && !curAdminUser.getIsMaster()) {
|
|
|
+// throw new RemoteServiceException("“网点账号”,超级管理员或商户主账号才有重置密码的权限");
|
|
|
} else if (resetAdminUser.getType() == 1 && !curAdminUser.getIsMaster()) {
|
|
|
throw new RemoteServiceException("“商户账号”,超级管理员或商户主账号才有重置密码的权限");
|
|
|
}
|