fix 优化获取开始id
This commit is contained in:
@@ -19,5 +19,13 @@ public class Startup : DefaultStartup
|
||||
{
|
||||
base.ConfigureServices(services);
|
||||
services.AddRedis();
|
||||
services.AddMemoryCache();
|
||||
}
|
||||
|
||||
// public override void Configure(IApplicationBuilder app, IWebHostEnvironment env)
|
||||
// {
|
||||
// base.Configure(app, env);
|
||||
// var token = new JipTokenHandler().GetTokenAsync(app.ApplicationServices).GetAwaiter().GetResult();
|
||||
// Console.WriteLine("token: " + token);
|
||||
// }
|
||||
}
|
||||
Reference in New Issue
Block a user