RADIUS协议日志国际化信息调整
报文类型字典sql
This commit is contained in:
@@ -1361,5 +1361,6 @@ log_search_keyword_monit=Keyword Monitor
|
||||
log_search_keyword_reject=Keyword Block
|
||||
radius_log=RADIUS Identify
|
||||
message_type=Message Type
|
||||
nas_ip=ISN Access IP
|
||||
framed_ip=User Address Sent By Server
|
||||
nas_ip=NAS IP Address
|
||||
framed_ip=Framed IP Address
|
||||
log_user_name=User Name
|
||||
|
||||
@@ -1361,5 +1361,6 @@ log_search_keyword_monit=\u5173\u952E\u5B57\u76D1\u6D4B
|
||||
log_search_keyword_reject=\u5173\u952E\u5B57\u963B\u65AD
|
||||
radius_log=RADIUS\u534F\u8BAE
|
||||
message_type=\u62A5\u6587\u7C7B\u578B
|
||||
nas_ip=ISN\u63A5\u5165IP
|
||||
nas_ip=NAS\u63A5\u5165IP
|
||||
framed_ip=\u670D\u52A1\u5668\u4E0B\u53D1\u7684\u7528\u6237\u5730\u5740
|
||||
log_user_name=\u7528\u6237\u540D
|
||||
|
||||
18
src/main/resources/sql/20181212/add_data_dictionary.sql
Normal file
18
src/main/resources/sql/20181212/add_data_dictionary.sql
Normal file
@@ -0,0 +1,18 @@
|
||||
#RADIUS协议日志 报文类型
|
||||
INSERT INTO `sys_data_dictionary_name` (`id`, `module_name`, `mark`, `remark`, `revision`, `create_time`, `modify_time`, `status`) VALUES ('149', 'RADIUS协议日志', 'MESSAGE_TYPE', '报文类型', '', '2018-12-12 17:22:38', '2018-12-12 17:22:38', '1');
|
||||
|
||||
INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('3945', '1', 'Access-Request', '', '0', '1', '1', '149');
|
||||
INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('3946', '2', 'Access-Accept', '', '0', '1', '1', '149');
|
||||
INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('3947', '3', 'Access-Reject', '', '0', '1', '1', '149');
|
||||
INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('3948', '4', 'Accounting-Request', '', '0', '1', '1', '149');
|
||||
INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('3949', '5', 'Accounting-Response', '', '0', '1', '1', '149');
|
||||
INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('3950', '11', 'Access-Challenge', '', '0', '1', '1', '149');
|
||||
INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('3951', '12', 'Status-Server (experimental)', '', '0', '1', '1', '149');
|
||||
INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('3952', '13', 'Status-Client (experimental)', '', '0', '1', '1', '149');
|
||||
INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('3953', '40', 'Disconnect-Request', '', '0', '1', '1', '149');
|
||||
INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('3954', '41', 'Disconnect-ACK', '', '0', '1', '1', '149');
|
||||
INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('3955', '42', 'Disconnect-NAK', '', '0', '1', '1', '149');
|
||||
INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('3956', '43', 'CoA-Request', '', '0', '1', '1', '149');
|
||||
INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('3957', '44', 'CoA-ACK', '', '0', '1', '1', '149');
|
||||
INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('3958', '45', 'CoA-NAK', '', '0', '1', '1', '149');
|
||||
INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('3959', '255', 'Reserved', '', '0', '1', '1', '149');
|
||||
@@ -189,7 +189,7 @@
|
||||
<th class="sort-column code" ><spring:message code="message_type"/></th>
|
||||
<th class="sort-column nas_ip"><spring:message code="nas_ip"/></th>
|
||||
<th class="sort-column framed_ip"><spring:message code='framed_ip'/></th>
|
||||
<th class="sort-column account"><spring:message code="user"/></th>
|
||||
<th class="sort-column account"><spring:message code="log_user_name"/></th>
|
||||
|
||||
|
||||
<th class="sort-column cap_ip" isVisible="false"><spring:message code="clj_ip"/></th>
|
||||
@@ -247,7 +247,15 @@
|
||||
<spring:message code="${entrances}"/>
|
||||
</td>
|
||||
|
||||
<td>${log.code }</td>
|
||||
<td>
|
||||
<c:set var="codes">${log.code }</c:set>
|
||||
<c:forEach items="${fns:getDictList('MESSAGE_TYPE')}" var="dic">
|
||||
<c:if test="${dic.itemCode eq log.code}">
|
||||
<c:set var="codes">${dic.itemValue}</c:set>
|
||||
</c:if>
|
||||
</c:forEach>
|
||||
${codes}
|
||||
</td>
|
||||
<td>${log.nasIp }</td>
|
||||
<td>${log.framedIp }</td>
|
||||
<td>${log.account }</td>
|
||||
|
||||
Reference in New Issue
Block a user