http日志中的所有现场文件改为admin用户查看
This commit is contained in:
@@ -232,11 +232,11 @@
|
||||
<th class="sort-column req_hdr_file"><spring:message code="req_hdr_file"/></th>
|
||||
<th class="sort-column req_body_key" isVisible="false"><spring:message code="req_body_key"/></th>
|
||||
<th class="sort-column req_body_file"><spring:message code="req_body_file"/></th>
|
||||
</c:if>
|
||||
<th class="sort-column res_hdr_key" isVisible="false"><spring:message code="res_hdr_key"/></th>
|
||||
<th class="sort-column res_hdr_file"><spring:message code="res_hdr_file"/></th>
|
||||
<th class="sort-column res_body_key" isVisible="false"><spring:message code="res_body_key"/></th>
|
||||
<th class="sort-column res_body_file"><spring:message code="res_body_file"/></th>
|
||||
</c:if>
|
||||
<th class="sort-column website"><spring:message code="website"/></th>
|
||||
<th class="sort-column cap_ip" isVisible="false"><spring:message code="clj_ip"/></th>
|
||||
|
||||
@@ -305,7 +305,7 @@
|
||||
http://${log.url}
|
||||
</c:if> --%>
|
||||
</td>
|
||||
<c:if test="${fns:getUser().isAdmin()}"><td>
|
||||
<c:if test="${fns:getUser().isAdmin()}">
|
||||
<td>${log.reqHdrKey }</td>
|
||||
<td>
|
||||
<c:if test="${fn:startsWith(log.reqHdrFile, 'http')}">
|
||||
@@ -322,6 +322,7 @@
|
||||
</c:if>
|
||||
</td>
|
||||
<td>${log.reqBodyKey }</td>
|
||||
<td>
|
||||
<c:if test="${fn:startsWith(log.reqBodyFile, 'http')}">
|
||||
<a href="${log.reqBodyFile}" data-original-title="${log.reqBodyFile}" target="_blank"
|
||||
class="tooltips" data-flag="false" data-html="true" data-placement="top">
|
||||
@@ -334,7 +335,7 @@
|
||||
http://${fn:substring(log.reqBodyFile,0,20) }
|
||||
</a>
|
||||
</c:if>
|
||||
</td></c:if>
|
||||
</td>
|
||||
<td>${log.resHdrKey }</td>
|
||||
<td>
|
||||
<c:if test="${fn:startsWith(log.resHdrFile, 'http')}">
|
||||
@@ -364,7 +365,7 @@
|
||||
http://${fn:substring(log.resBodyFile,0,20) }
|
||||
</a>
|
||||
</c:if>
|
||||
</td>
|
||||
</td> </c:if>
|
||||
<td>${log.website }</td>
|
||||
<td title="${log.capIp }">${fns:abbr(log.capIp, 42)}</td>
|
||||
<td>
|
||||
@@ -456,4 +457,4 @@
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user