This commit is contained in:
parent
09ca1c96d7
commit
8cfff8ef81
@ -3,6 +3,7 @@
|
|||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<!-- All Fake packages -->
|
<!-- All Fake packages -->
|
||||||
<FakePackageVersion>8.0.5.22</FakePackageVersion>
|
<!-- 清本地nuget缓存:dotnet nuget locals -c http-cache -->
|
||||||
|
<FakePackageVersion>8.0.5.24</FakePackageVersion>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
</Project>
|
</Project>
|
||||||
|
|||||||
@ -6,8 +6,8 @@
|
|||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<FakeRepoRoot Condition="'$(FakeRepoRoot)' == ''">C:\Users\BSI\RiderProjects\fake2</FakeRepoRoot>
|
<FakeRepoRoot Condition="'$(FakeRepoRoot)' == ''">C:\Users\BSI\RiderProjects\fake2</FakeRepoRoot>
|
||||||
<!-- EventBus / Dashboard / IntegrationEventLog -->
|
<!-- EventBus / Dashboard / IntegrationEventLog -->
|
||||||
<UseLocalFakeEventBus Condition="'$(UseLocalFakeEventBus)' == ''">true</UseLocalFakeEventBus>
|
<UseLocalFakeEventBus Condition="'$(UseLocalFakeEventBus)' == ''">false</UseLocalFakeEventBus>
|
||||||
<!-- RBAC / FileManagement(表前缀 fk_ 等框架改动需同源) -->
|
<!-- RBAC / FileManagement(表前缀 fk_ 等框架改动需同源) -->
|
||||||
<UseLocalFakeModules Condition="'$(UseLocalFakeModules)' == ''">true</UseLocalFakeModules>
|
<UseLocalFakeModules Condition="'$(UseLocalFakeModules)' == ''">false</UseLocalFakeModules>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
</Project>
|
</Project>
|
||||||
|
|||||||
12
src/Oms.Application/FakeTables.cs
Normal file
12
src/Oms.Application/FakeTables.cs
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
namespace Oms.Application;
|
||||||
|
|
||||||
|
|
||||||
|
public static class FakeTables
|
||||||
|
{
|
||||||
|
public static string User => "fk_user";
|
||||||
|
public static string Role => "fk_role";
|
||||||
|
public static string Menu => "fk_menu";
|
||||||
|
public static string Organization => "fk_organization";
|
||||||
|
public static string UserRole => "fk_user_role";
|
||||||
|
public static string RolePermission => "fk_role_permission";
|
||||||
|
}
|
||||||
@ -18,6 +18,7 @@ using Microsoft.AspNetCore.Mvc;
|
|||||||
using Microsoft.EntityFrameworkCore;
|
using Microsoft.EntityFrameworkCore;
|
||||||
using Microsoft.Extensions.Caching.Memory;
|
using Microsoft.Extensions.Caching.Memory;
|
||||||
using Fake.ObjectStorage;
|
using Fake.ObjectStorage;
|
||||||
|
using Oms.Application;
|
||||||
using Oms.Application.Shared;
|
using Oms.Application.Shared;
|
||||||
using Oms.Application.Storage;
|
using Oms.Application.Storage;
|
||||||
using Oms.Domain.CustomersAggregate.Entities;
|
using Oms.Domain.CustomersAggregate.Entities;
|
||||||
|
|||||||
@ -5,9 +5,9 @@ using Fake.Rbac.Application.Jwt;
|
|||||||
using Fake.Rbac.Application.Services;
|
using Fake.Rbac.Application.Services;
|
||||||
using Fake.Rbac.Infrastructure;
|
using Fake.Rbac.Infrastructure;
|
||||||
using Fake.Security.Claims;
|
using Fake.Security.Claims;
|
||||||
using Fake.EntityFrameworkCore;
|
|
||||||
using Microsoft.EntityFrameworkCore;
|
using Microsoft.EntityFrameworkCore;
|
||||||
using Microsoft.Extensions.Options;
|
using Microsoft.Extensions.Options;
|
||||||
|
using Oms.Application;
|
||||||
|
|
||||||
namespace SimpleAdmin.Api;
|
namespace SimpleAdmin.Api;
|
||||||
|
|
||||||
|
|||||||
@ -9,6 +9,7 @@ using Microsoft.AspNetCore.Authorization;
|
|||||||
using Microsoft.AspNetCore.Mvc;
|
using Microsoft.AspNetCore.Mvc;
|
||||||
using Microsoft.EntityFrameworkCore;
|
using Microsoft.EntityFrameworkCore;
|
||||||
using Microsoft.Extensions.Logging;
|
using Microsoft.Extensions.Logging;
|
||||||
|
using Oms.Application;
|
||||||
using Oms.Application.Shared;
|
using Oms.Application.Shared;
|
||||||
using Oms.Domain.CustomersAggregate.Entities;
|
using Oms.Domain.CustomersAggregate.Entities;
|
||||||
using Oms.Domain.CustomersAggregate.Enums;
|
using Oms.Domain.CustomersAggregate.Enums;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user