报表字典补充
This commit is contained in:
@@ -353,6 +353,7 @@ public final class Constants {
|
|||||||
//日志查询接口URL
|
//日志查询接口URL
|
||||||
public static final String LOG_BASE_URL = Configurations.getStringProperty("logBaseUrl","");
|
public static final String LOG_BASE_URL = Configurations.getStringProperty("logBaseUrl","");
|
||||||
public static final String NTC_SERVICE_REPORT=Configurations.getStringProperty("ntcServiceReport","ntcServiceReport");
|
public static final String NTC_SERVICE_REPORT=Configurations.getStringProperty("ntcServiceReport","ntcServiceReport");
|
||||||
|
public static final String NTC_ATTRTYPE_REPORT=Configurations.getStringProperty("ntcAttrTypeReport","ntcAttrTypeReport");
|
||||||
public static final String NTC_TAG_REPORT=Configurations.getStringProperty("ntcTagReport","ntcTagReport");
|
public static final String NTC_TAG_REPORT=Configurations.getStringProperty("ntcTagReport","ntcTagReport");
|
||||||
public static final String NTC_PZ_REPORT=Configurations.getStringProperty("ntcPzReport","ntcPzReport");
|
public static final String NTC_PZ_REPORT=Configurations.getStringProperty("ntcPzReport","ntcPzReport");
|
||||||
public static final String NTC_NTC_SRCIP_REPORT=Configurations.getStringProperty("ntcSrcipDomesticReport","ntcSrcipDomesticReport");
|
public static final String NTC_NTC_SRCIP_REPORT=Configurations.getStringProperty("ntcSrcipDomesticReport","ntcSrcipDomesticReport");
|
||||||
|
|||||||
@@ -68,7 +68,7 @@ public class NtcXzReportController extends BaseController {
|
|||||||
model.addAttribute("titles", titles);
|
model.addAttribute("titles", titles);
|
||||||
try {
|
try {
|
||||||
ReportResult<NtcAttrTypeReport> result=new ReportResult<>();
|
ReportResult<NtcAttrTypeReport> result=new ReportResult<>();
|
||||||
StringBuffer url=new StringBuffer(Constants.LOG_BASE_URL+Constants.NTC_TAG_REPORT);
|
StringBuffer url=new StringBuffer(Constants.LOG_BASE_URL+Constants.NTC_ATTRTYPE_REPORT);
|
||||||
Gson gson=Constants.gsonbuilder.create();
|
Gson gson=Constants.gsonbuilder.create();
|
||||||
String json=result.getReport(url.toString(), bean);
|
String json=result.getReport(url.toString(), bean);
|
||||||
result = gson.fromJson(json, new TypeToken<ReportResult<NtcAttrTypeReport>>() {
|
result = gson.fromJson(json, new TypeToken<ReportResult<NtcAttrTypeReport>>() {
|
||||||
|
|||||||
@@ -230,6 +230,11 @@ logBaseUrl=http://10.0.6.242:8080/galaxy/service/log/v1/
|
|||||||
ntcPzReport=ntcPzReport
|
ntcPzReport=ntcPzReport
|
||||||
ntcServiceReport=ntcServiceReport
|
ntcServiceReport=ntcServiceReport
|
||||||
ntcTagReport=ntcTagReport
|
ntcTagReport=ntcTagReport
|
||||||
|
ntcAttrTypeReport=ntcAttrTypeReport
|
||||||
|
ntcLwhhReport=ntcLwhhReport
|
||||||
|
ntcSrcipDomesticReport=ntcSrcipDomesticReport
|
||||||
|
ntcDestipCountryReport=ntcDestipCountryReport
|
||||||
|
ntcEntranceReport=ntcEntranceReport
|
||||||
ntcIpLog=ntcIpLogs
|
ntcIpLog=ntcIpLogs
|
||||||
ntcHttpLog=ntcHttpLogs
|
ntcHttpLog=ntcHttpLogs
|
||||||
ntcDnsLog=ntcDnsLogs
|
ntcDnsLog=ntcDnsLogs
|
||||||
|
|||||||
Reference in New Issue
Block a user