去掉引号

This commit is contained in:
Captain.B 2020-05-11 18:10:27 +08:00
parent 2cf70f9484
commit 6555e73510
3 changed files with 7 additions and 7 deletions

View File

@ -53,7 +53,7 @@ public class UserService {
User user1 = userMapper.selectByPrimaryKey(id);
if (user1 != null) {
MSException.throwException(Translator.get("user_id_already_exists"));
}else{
} else {
createUser(user);
}
return getUserDTO(user.getId());

View File

@ -30,6 +30,6 @@ user_email_is_null=User email cannot be null
password_is_null=Password cannot be null
workspace_not_exists=Workspace is not exists
#api
api_load_script_error="Load script error"
user_id_already_exists="User ID already exists"
password_modification_failed="Password modification failed"
api_load_script_error=Load script error
user_id_already_exists=User ID already exists
password_modification_failed=Password modification failed

View File

@ -30,6 +30,6 @@ user_email_is_null=用户邮箱不能为空
password_is_null=密码不能为空
workspace_not_exists=工作空间不存在
#api
api_load_script_error="读取脚本失败"
user_id_already_exists="用户id已存在"
password_modification_failed="密码修改失败"
api_load_script_error=读取脚本失败
user_id_already_exists=用户id已存在
password_modification_failed=密码修改失败