|
|
@ -1,14 +1,8 @@ |
|
|
|
using System.Diagnostics.CodeAnalysis; |
|
|
|
using System.Diagnostics.CodeAnalysis; |
|
|
|
using Tiobon.Core.Common; |
|
|
|
|
|
|
|
using Tiobon.Core.Common.DB; |
|
|
|
using Tiobon.Core.Common.DB; |
|
|
|
using Tiobon.Core.Controllers; |
|
|
|
|
|
|
|
using Tiobon.Core.Model; |
|
|
|
|
|
|
|
using Tiobon.Core.Model.Models; |
|
|
|
|
|
|
|
using Tiobon.Core.Model.Systems.DataBase; |
|
|
|
using Tiobon.Core.Model.Systems.DataBase; |
|
|
|
using Tiobon.Core.Model.Tenants; |
|
|
|
using Tiobon.Core.Model.Tenants; |
|
|
|
using Mapster; |
|
|
|
using Mapster; |
|
|
|
using Microsoft.AspNetCore.Authorization; |
|
|
|
|
|
|
|
using Microsoft.AspNetCore.Mvc; |
|
|
|
|
|
|
|
using SqlSugar; |
|
|
|
using SqlSugar; |
|
|
|
|
|
|
|
|
|
|
|
namespace Tiobon.Core.Api.Controllers.Systems; |
|
|
|
namespace Tiobon.Core.Api.Controllers.Systems; |
|
|
@ -17,7 +11,7 @@ namespace Tiobon.Core.Api.Controllers.Systems; |
|
|
|
/// 数据库管理 |
|
|
|
/// 数据库管理 |
|
|
|
/// </summary> |
|
|
|
/// </summary> |
|
|
|
[Route("api/Systems/[controller]/[action]")]
|
|
|
|
[Route("api/Systems/[controller]/[action]")]
|
|
|
|
[ApiController] |
|
|
|
[ApiController, ApiExplorerSettings(GroupName = Grouping.GroupName_Assistant)] |
|
|
|
[Authorize(Permissions.Name)] |
|
|
|
[Authorize(Permissions.Name)] |
|
|
|
public class DataBaseController : BaseApiController |
|
|
|
public class DataBaseController : BaseApiController |
|
|
|
{ |
|
|
|
{ |
|
|
|