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