refactor: 统一命名空间为Foxel.Api,移除不必要的using语句,优化代码结构

This commit is contained in:
shiyu
2025-06-22 17:07:43 +08:00
parent 9612a69f9d
commit 49c84658b5
50 changed files with 112 additions and 210 deletions

View File

@@ -1,4 +1,3 @@
using Foxel.Controllers;
using Foxel.Models;
using Foxel.Models.Request.Album;
using Foxel.Models.Response.Album;

View File

@@ -1,7 +1,7 @@
using Foxel.Controllers;
using Foxel.Models;
using Foxel.Models.Response.Face;
using Foxel.Models.Response.Picture;
using Foxel.Services.AI;
using Foxel.Services.Management;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;

View File

@@ -3,7 +3,6 @@ using Microsoft.AspNetCore.Mvc;
using Foxel.Models;
using Foxel.Models.Response.Log;
using Foxel.Models.Request.Log;
using Foxel.Controllers;
using Foxel.Services.Management;
namespace Foxel.Api.Management;

View File

@@ -2,7 +2,6 @@ using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Foxel.Models;
using Foxel.Models.Response.Picture;
using Foxel.Controllers;
using Foxel.Services.Management;
namespace Foxel.Api.Management;

View File

@@ -1,9 +1,8 @@
using Foxel.Controllers;
using Foxel.Models;
using Foxel.Models.Request.Storage;
using Foxel.Models.Response.Storage;
using Foxel.Services.Attributes;
using Foxel.Services.Management;
using Foxel.Services.Storage;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;

View File

@@ -1,8 +1,7 @@
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Foxel.Controllers;
using Foxel.Models;
using Foxel.Services.VectorDB;
using Foxel.Services.VectorDb;
namespace Foxel.Api.Management;

View File

@@ -3,7 +3,6 @@ using Microsoft.AspNetCore.Mvc;
using Foxel.Models;
using Foxel.Models.Request.User;
using Foxel.Models.Response.User;
using Foxel.Controllers;
using Foxel.Services.Management;
namespace Foxel.Api.Management;