fix(Analyse): 修复Null引用错误
This commit is contained in:
parent
c462cc0a9f
commit
8d38819976
|
@ -18,7 +18,7 @@ namespace Bootstrap.Admin.Controllers.Api
|
|||
/// </summary>
|
||||
/// <returns></returns>
|
||||
[HttpGet()]
|
||||
public ActionResult<AnalyseData> Get([FromQuery]string logType)
|
||||
public ActionResult<AnalyseData> Get([FromQuery]string logType = "")
|
||||
{
|
||||
var ret = new AnalyseData();
|
||||
if (logType.Equals("LoginUsers", StringComparison.OrdinalIgnoreCase))
|
||||
|
|
Loading…
Reference in New Issue