优化,完善功能

This commit is contained in:
2025-09-23 11:02:44 +08:00
parent c6037c51ed
commit f19ebd8f79
2 changed files with 20 additions and 5 deletions

View File

@@ -1,5 +1,4 @@
using Nancy;
using Nancy.Extensions;
using Nancy.ModelBinding;
using System;
using System.Collections.Generic;
@@ -137,4 +136,19 @@ namespace 电子展板
}
//public class ApplicationBootstrapper : DefaultNancyBootstrapper
//{
// protected override void ApplicationStartup(TinyIoCContainer container, IPipelines pipelines)
// {
// SwaggerMetadataProvider.SetInfo("API", "v1.0", "电子展板", new Swagger.ObjectModel.Contact
// {
// EmailAddress = "18862253202@qq.com",
// Name = "大师兄法号随缘",
// Url = "https://www.cnblogs.com/zjwno1"
// });
// base.ApplicationStartup(container, pipelines);
// }
//}
}

View File

@@ -21,6 +21,7 @@
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>-->
<PackageReference Include="HandyControl" Version="3.5.1" />
<!--<PackageReference Include="Nancy.Swagger.Alyce" Version="2.2.76" />-->
<PackageReference Include="PropertyChanged.Fody" Version="4.1.0" />
<PackageReference Include="Microsoft.Xaml.Behaviors.Wpf" Version="1.1.135" />
</ItemGroup>