From 10c218463b376967e07a9c28de565ef741a0a308 Mon Sep 17 00:00:00 2001 From: kaiyu <404897439@qq.com> Date: Wed, 17 Mar 2021 17:26:24 +0800 Subject: [PATCH] Common模块: 修改用户不存在常量名 修改ResultMessage中使用的常量 manage模块: 账号的增删改查进行修改 --- screen-manage/src/main/java/com/moral/api/pojo/form/AccountInsertForm.java | 8 +++----- 1 files changed, 3 insertions(+), 5 deletions(-) diff --git a/screen-manage/src/main/java/com/moral/api/pojo/request/AccountInsertRequest.java b/screen-manage/src/main/java/com/moral/api/pojo/form/AccountInsertForm.java similarity index 78% rename from screen-manage/src/main/java/com/moral/api/pojo/request/AccountInsertRequest.java rename to screen-manage/src/main/java/com/moral/api/pojo/form/AccountInsertForm.java index d070492..d4f1f96 100644 --- a/screen-manage/src/main/java/com/moral/api/pojo/request/AccountInsertRequest.java +++ b/screen-manage/src/main/java/com/moral/api/pojo/form/AccountInsertForm.java @@ -1,6 +1,5 @@ -package com.moral.api.pojo.request; +package com.moral.api.pojo.form; -import com.moral.api.entity.ManageRole; import lombok.Data; import org.springframework.util.ObjectUtils; @@ -15,7 +14,7 @@ * @Version TODO **/ @Data -public class AccountInsertRequest implements Serializable{ +public class AccountInsertForm implements Serializable{ private String account; @@ -50,8 +49,7 @@ ObjectUtils.isEmpty(password) || ObjectUtils.isEmpty(email) || ObjectUtils.isEmpty(mobile) || - ObjectUtils.isEmpty(userName) || - ObjectUtils.isEmpty(roleIds) + ObjectUtils.isEmpty(userName) ) return false; return true; -- Gitblit v1.8.0