mirror of
https://github.com/oshima-studios/OshimaGameModule.git
synced 2025-05-06 10:49:35 +08:00
执行代码清理
This commit is contained in:
parent
0b022fe9c1
commit
e77ac767ef
@ -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;
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
@ -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();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user