2131
This commit is contained in:
parent
a7d0e2b196
commit
69b28aa854
|
|
@ -258,7 +258,7 @@ try
|
||||||
//其他项目启动时需要做的事情
|
//其他项目启动时需要做的事情
|
||||||
NLogUtil.WriteAll(NLog.LogLevel.Trace, LogType.ApiRequest, "接口启动", "接口启动成功");
|
NLogUtil.WriteAll(NLog.LogLevel.Trace, LogType.ApiRequest, "接口启动", "接口启动成功");
|
||||||
//app.MapGet("/", () => "请求成功").WithName("默认请求");
|
//app.MapGet("/", () => "请求成功").WithName("默认请求");
|
||||||
app.MapGet("/h", () => "请求成功").WithName("默认请求");
|
app.MapGet("/h", () => new { time = DateTime.Now }).WithName("ĬÈÏÇëÇó");
|
||||||
app.Run();
|
app.Run();
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user