优化代码

pull/467/MERGE
RuoYi 2023-08-12 16:21:23 +08:00
parent e4585f5dcb
commit 2ebedeb5df
5 changed files with 13 additions and 9 deletions

View File

@ -21,7 +21,7 @@
<div class="form-group"> <div class="form-group">
<label class="col-sm-3 control-label is-required">参数键值:</label> <label class="col-sm-3 control-label is-required">参数键值:</label>
<div class="col-sm-8"> <div class="col-sm-8">
<input id="configValue" name="configValue" class="form-control" type="text" required> <textarea id="configValue" name="configValue" class="form-control" rows="4" required></textarea>
</div> </div>
</div> </div>
<div class="form-group"> <div class="form-group">

View File

@ -99,7 +99,11 @@
}, },
{ {
field: 'configValue', field: 'configValue',
title: '参数键值' title: '参数键值',
align: 'center',
formatter: function(value, row, index) {
return $.table.tooltip(value, 10, "open");
}
}, },
{ {
field: 'configType', field: 'configType',

View File

@ -22,7 +22,7 @@
<div class="form-group"> <div class="form-group">
<label class="col-sm-3 control-label is-required">参数键值:</label> <label class="col-sm-3 control-label is-required">参数键值:</label>
<div class="col-sm-8"> <div class="col-sm-8">
<input id="configValue" name="configValue" th:field="*{configValue}" class="form-control" type="text" required> <textarea id="configValue" name="configValue" class="form-control" rows="4" required>[[*{configValue}]]</textarea>
</div> </div>
</div> </div>
<div class="form-group"> <div class="form-group">

View File

@ -147,7 +147,7 @@ public class DateUtils extends org.apache.commons.lang3.time.DateUtils
/** /**
* *
* *
* @param end * @param endDate
* @param startTime * @param startTime
* @return // * @return //
*/ */

View File

@ -118,7 +118,7 @@ public class SysLoginService
if (UserStatus.DISABLE.getCode().equals(user.getStatus())) if (UserStatus.DISABLE.getCode().equals(user.getStatus()))
{ {
AsyncManager.me().execute(AsyncFactory.recordLogininfor(username, Constants.LOGIN_FAIL, MessageUtils.message("user.blocked", user.getRemark()))); AsyncManager.me().execute(AsyncFactory.recordLogininfor(username, Constants.LOGIN_FAIL, MessageUtils.message("user.blocked")));
throw new UserBlockedException(); throw new UserBlockedException();
} }