update:添加中转等待界面

This commit is contained in:
2021-02-23 18:08:06 +08:00
parent 43de7445bd
commit cd23716d1b
8 changed files with 55 additions and 18 deletions

View File

@@ -32,8 +32,8 @@ namespace QRCodeService
// This method gets called by the runtime. Use this method to add services to the container.
public void ConfigureServices(IServiceCollection services)
{
services.AddControllers();
//提供等待界面优化用户体验
services.AddControllersWithViews();
services.AddSwaggerGen(c =>
{
c.SwaggerDoc("v1", new OpenApiInfo { Title = "QRCodeService", Version = "v1" });