feat: 新增灵田 秘境结算持久化
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
using Furion;
|
||||
using Microsoft.AspNetCore.HttpOverrides;
|
||||
using NapCatRobotClient.Core.Helper;
|
||||
using NapCatRobotClient.Service.BackGround;
|
||||
using System.Net;
|
||||
|
||||
namespace NapCatRobotClient.API
|
||||
@@ -18,6 +19,9 @@ namespace NapCatRobotClient.API
|
||||
builder.Services.AddEndpointsApiExplorer();
|
||||
builder.Services.AddSwaggerGen();
|
||||
|
||||
builder.Services.AddHostedService<MijingBackGroundWorker>();
|
||||
builder.Services.AddHostedService<LingTianBackGroundWorker>();
|
||||
|
||||
var app = builder.Build();
|
||||
|
||||
app.UseInject(string.Empty);
|
||||
|
||||
Reference in New Issue
Block a user