更新日志显示
This commit is contained in:
parent
1049ec9a97
commit
a42fae902a
|
@ -24,6 +24,7 @@ app.MapPost("/CacheData/Set", async (HttpRequest request, IDistributedCache cach
|
|||
body = await stream.ReadToEndAsync();
|
||||
}
|
||||
cache.SetString(key, body);
|
||||
Console.WriteLine($"{DateTime.Now:yyyy-MM-dd HH:mm:ss} [{key}[update to [{body}] ");
|
||||
return "success";
|
||||
});
|
||||
|
||||
|
|
|
@ -15,10 +15,9 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
|
|||
<_TargetId>Folder</_TargetId>
|
||||
<SiteUrlToLaunchAfterPublish />
|
||||
<TargetFramework>net7.0</TargetFramework>
|
||||
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
|
||||
<RuntimeIdentifier>linux-x64</RuntimeIdentifier>
|
||||
<PublishSingleFile>true</PublishSingleFile>
|
||||
<ProjectGuid>295af217-802a-4cc5-a87c-ce1d68ed553f</ProjectGuid>
|
||||
<SelfContained>false</SelfContained>
|
||||
<PublishReadyToRun>false</PublishReadyToRun>
|
||||
</PropertyGroup>
|
||||
</Project>
|
|
@ -4,6 +4,7 @@
|
|||
<TargetFramework>net7.0</TargetFramework>
|
||||
<Nullable>enable</Nullable>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<ServerGarbageCollection>false</ServerGarbageCollection>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
|
Loading…
Reference in New Issue