From 8d388199763f7aa4d3d0af9aa9cfc5ab1bb5aa7c Mon Sep 17 00:00:00 2001 From: Argo Zhang Date: Wed, 29 May 2019 15:46:04 +0800 Subject: [PATCH] =?UTF-8?q?fix(Analyse):=20=E4=BF=AE=E5=A4=8DNull=E5=BC=95?= =?UTF-8?q?=E7=94=A8=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Bootstrap.Admin/Controllers/Api/AnalyseController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Bootstrap.Admin/Controllers/Api/AnalyseController.cs b/Bootstrap.Admin/Controllers/Api/AnalyseController.cs index 7b1b4189..f8de01d9 100644 --- a/Bootstrap.Admin/Controllers/Api/AnalyseController.cs +++ b/Bootstrap.Admin/Controllers/Api/AnalyseController.cs @@ -18,7 +18,7 @@ namespace Bootstrap.Admin.Controllers.Api /// /// [HttpGet()] - public ActionResult Get([FromQuery]string logType) + public ActionResult Get([FromQuery]string logType = "") { var ret = new AnalyseData(); if (logType.Equals("LoginUsers", StringComparison.OrdinalIgnoreCase))