执行代码清理

This commit is contained in:
milimoe 2025-03-18 01:39:53 +08:00
parent 0b022fe9c1
commit e77ac767ef
Signed by: milimoe
GPG Key ID: 05D280912DA6C69E
38 changed files with 84 additions and 85 deletions

View File

@ -1,5 +1,4 @@
using System; using Milimoe.FunGame.Core.Api.Utility;
using Milimoe.FunGame.Core.Api.Utility;
using Milimoe.FunGame.Core.Entity; using Milimoe.FunGame.Core.Entity;
using Milimoe.FunGame.Core.Library.Constant; using Milimoe.FunGame.Core.Library.Constant;

View File

@ -1,5 +1,4 @@
using Milimoe.FunGame.Core.Entity; using Milimoe.FunGame.Core.Entity;
using Milimoe.FunGame.Core.Interface.Entity;
using Milimoe.FunGame.Core.Library.Constant; using Milimoe.FunGame.Core.Library.Constant;
namespace Oshima.FunGame.OshimaModules.Skills namespace Oshima.FunGame.OshimaModules.Skills

View File

@ -47,7 +47,8 @@ namespace Oshima.FunGame.WebAPI
builder.Services.AddScoped<RainBOTService>(); builder.Services.AddScoped<RainBOTService>();
builder.Services.AddScoped<FunGameController>(); builder.Services.AddScoped<FunGameController>();
builder.Services.AddScoped<QQController>(); builder.Services.AddScoped<QQController>();
builder.Services.AddTransient(provider => { builder.Services.AddTransient(provider =>
{
SQLHelper? sql = Factory.OpenFactory.GetSQLHelper(); SQLHelper? sql = Factory.OpenFactory.GetSQLHelper();
if (sql != null) return sql; if (sql != null) return sql;
throw new Milimoe.FunGame.SQLServiceException(); throw new Milimoe.FunGame.SQLServiceException();