Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: junlins/abp-samples
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: huangmingji/abp-samples
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Able to merge. These branches can be automatically merged.
  • 3 commits
  • 90 files changed
  • 1 contributor

Commits on Oct 13, 2020

  1. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    371f1f6 View commit details
  2. Copy the full SHA
    da3d407 View commit details

Commits on Oct 14, 2020

  1. 新增自动API控制器

    huangmingji committed Oct 14, 2020
    Copy the full SHA
    d410565 View commit details
Showing with 6,153 additions and 0 deletions.
  1. +13 −0 Best Practices/Lemon.Account/.idea/.idea.Lemon.Account/.idea/.gitignore
  2. +4 −0 Best Practices/Lemon.Account/.idea/.idea.Lemon.Account/.idea/encodings.xml
  3. +8 −0 Best Practices/Lemon.Account/.idea/.idea.Lemon.Account/.idea/indexLayout.xml
  4. +6 −0 Best Practices/Lemon.Account/.idea/.idea.Lemon.Account/.idea/misc.xml
  5. +6 −0 Best Practices/Lemon.Account/.idea/.idea.Lemon.Account/.idea/vcs.xml
  6. +8 −0 Best Practices/Lemon.Account/.idea/.idea.Lemon.Account/riderModule.iml
  7. +189 −0 Best Practices/Lemon.Account/Lemon.Account.sln
  8. +13 −0 .../Lemon.Account/src/Lemon.Account.Application.Contracts/Lemon.Account.Application.Contracts.csproj
  9. +11 −0 ...s/Lemon.Account/src/Lemon.Account.Application.Contracts/LemonAccountApplicationContractsModule.cs
  10. +42 −0 ...Practices/Lemon.Account/src/Lemon.Account.Application.Contracts/Permissions/AccountPermissions.cs
  11. +17 −0 ...ces/Lemon.Account/src/Lemon.Account.Application.Contracts/Permissions/Dtos/CreatePermissionDto.cs
  12. +19 −0 ...Practices/Lemon.Account/src/Lemon.Account.Application.Contracts/Permissions/Dtos/PermissionDto.cs
  13. +15 −0 ...ces/Lemon.Account/src/Lemon.Account.Application.Contracts/Permissions/Dtos/UpdatePermissionDto.cs
  14. +20 −0 ...Practices/Lemon.Account/src/Lemon.Account.Application.Contracts/Permissions/IPermissionService.cs
  15. +10 −0 Best Practices/Lemon.Account/src/Lemon.Account.Application.Contracts/Roles/Dtos/CreateRoleDto.cs
  16. +18 −0 Best Practices/Lemon.Account/src/Lemon.Account.Application.Contracts/Roles/Dtos/RoleDto.cs
  17. +12 −0 Best Practices/Lemon.Account/src/Lemon.Account.Application.Contracts/Roles/Dtos/RolePermissionDto.cs
  18. +11 −0 Best Practices/Lemon.Account/src/Lemon.Account.Application.Contracts/Roles/Dtos/UpdateRoleDto.cs
  19. +20 −0 Best Practices/Lemon.Account/src/Lemon.Account.Application.Contracts/Roles/IRoleService.cs
  20. +19 −0 Best Practices/Lemon.Account/src/Lemon.Account.Application.Contracts/Users/Dtos/CreateUserDto.cs
  21. +15 −0 ... Practices/Lemon.Account/src/Lemon.Account.Application.Contracts/Users/Dtos/SelfModifyEmailDto.cs
  22. +11 −0 ...actices/Lemon.Account/src/Lemon.Account.Application.Contracts/Users/Dtos/SelfModifyHeadIconDto.cs
  23. +14 −0 ...Practices/Lemon.Account/src/Lemon.Account.Application.Contracts/Users/Dtos/SelfModifyMobileDto.cs
  24. +16 −0 ...actices/Lemon.Account/src/Lemon.Account.Application.Contracts/Users/Dtos/SelfModifyPasswordDto.cs
  25. +30 −0 Best Practices/Lemon.Account/src/Lemon.Account.Application.Contracts/Users/Dtos/UpdateUserDto.cs
  26. +16 −0 ...actices/Lemon.Account/src/Lemon.Account.Application.Contracts/Users/Dtos/UpdateUserPasswordDto.cs
  27. +14 −0 Best Practices/Lemon.Account/src/Lemon.Account.Application.Contracts/Users/Dtos/UpdateUserRoleDto.cs
  28. +51 −0 Best Practices/Lemon.Account/src/Lemon.Account.Application.Contracts/Users/Dtos/UserDto.cs
  29. +70 −0 Best Practices/Lemon.Account/src/Lemon.Account.Application.Contracts/Users/Dtos/UserLogOn.cs
  30. +23 −0 Best Practices/Lemon.Account/src/Lemon.Account.Application.Contracts/Users/Dtos/UserRoleDto.cs
  31. +13 −0 Best Practices/Lemon.Account/src/Lemon.Account.Application.Contracts/Users/Dtos/VerifyPasswordDto.cs
  32. +38 −0 Best Practices/Lemon.Account/src/Lemon.Account.Application.Contracts/Users/IUserService.cs
  33. +17 −0 Best Practices/Lemon.Account/src/Lemon.Account.Application/Lemon.Account.Application.csproj
  34. +25 −0 ...Practices/Lemon.Account/src/Lemon.Account.Application/LemonAccountApplicationAutoMapperProfile.cs
  35. +29 −0 Best Practices/Lemon.Account/src/Lemon.Account.Application/LemonAccountApplicationModule.cs
  36. +56 −0 Best Practices/Lemon.Account/src/Lemon.Account.Application/Services/PermissionService.cs
  37. +55 −0 Best Practices/Lemon.Account/src/Lemon.Account.Application/Services/RoleService.cs
  38. +167 −0 Best Practices/Lemon.Account/src/Lemon.Account.Application/Services/UserService.cs
  39. +11 −0 Best Practices/Lemon.Account/src/Lemon.Account.Domain.Shared/Lemon.Account.Domain.Shared.csproj
  40. +15 −0 Best Practices/Lemon.Account/src/Lemon.Account.Domain.Shared/LemonAccountDomainSharedModule.cs
  41. +11 −0 Best Practices/Lemon.Account/src/Lemon.Account.Domain.Shared/MultiTenancy/MultiTenancyConsts.cs
  42. +16 −0 Best Practices/Lemon.Account/src/Lemon.Account.Domain/Lemon.Account.Domain.csproj
  43. +22 −0 Best Practices/Lemon.Account/src/Lemon.Account.Domain/LemonAccountDomainModule.cs
  44. +15 −0 Best Practices/Lemon.Account/src/Lemon.Account.Domain/Repository/IUserRepository.cs
  45. +38 −0 Best Practices/Lemon.Account/src/Lemon.Account.Domain/Role/PermissionData.cs
  46. +30 −0 Best Practices/Lemon.Account/src/Lemon.Account.Domain/Role/RoleData.cs
  47. +27 −0 Best Practices/Lemon.Account/src/Lemon.Account.Domain/Role/RolePermissionData.cs
  48. +130 −0 Best Practices/Lemon.Account/src/Lemon.Account.Domain/Users/UserData.cs
  49. +97 −0 Best Practices/Lemon.Account/src/Lemon.Account.Domain/Users/UserLogOn.cs
  50. +38 −0 Best Practices/Lemon.Account/src/Lemon.Account.Domain/Users/UserRole.cs
  51. +24 −0 .../Lemon.Account/src/Lemon.Account.EntityFrameworkCore.DbMigrations/AccountDbMigrationsDbContext.cs
  52. +30 −0 ...Account/src/Lemon.Account.EntityFrameworkCore.DbMigrations/AccountDbMigrationsDbContextFactory.cs
  53. +17 −0 ...on.Account.EntityFrameworkCore.DbMigrations/Lemon.Account.EntityFrameworkCore.DbMigrations.csproj
  54. +30 −0 ...mon.Account.EntityFrameworkCore.DbMigrations/LemonAccountEntityFrameworkCoreDbMigrationsModule.cs
  55. +313 −0 ...emon.Account.EntityFrameworkCore.DbMigrations/Migrations/20201013012310_InitialCreate.Designer.cs
  56. +230 −0 ...unt/src/Lemon.Account.EntityFrameworkCore.DbMigrations/Migrations/20201013012310_InitialCreate.cs
  57. +311 −0 ....Account.EntityFrameworkCore.DbMigrations/Migrations/AccountDbMigrationsDbContextModelSnapshot.cs
  58. +23 −0 ....Account/src/Lemon.Account.EntityFrameworkCore.MySQL.DbMigrations/AccountDbMigrationsDbContext.cs
  59. +30 −0 ...t/src/Lemon.Account.EntityFrameworkCore.MySQL.DbMigrations/AccountDbMigrationsDbContextFactory.cs
  60. +12 −0 ...ntityFrameworkCore.MySQL.DbMigrations/Lemon.Account.EntityFrameworkCore.MySQL.DbMigrations.csproj
  61. +30 −0 ...count.EntityFrameworkCore.MySQL.DbMigrations/LemonAccountEntityFrameworkCoreDbMigrationsModule.cs
  62. +311 −0 ...ccount.EntityFrameworkCore.MySQL.DbMigrations/Migrations/20201013031547_InitialCreate.Designer.cs
  63. +205 −0 ...c/Lemon.Account.EntityFrameworkCore.MySQL.DbMigrations/Migrations/20201013031547_InitialCreate.cs
  64. +309 −0 ...nt.EntityFrameworkCore.MySQL.DbMigrations/Migrations/AccountDbMigrationsDbContextModelSnapshot.cs
  65. +31 −0 Best Practices/Lemon.Account/src/Lemon.Account.EntityFrameworkCore.MySQL/AccountDbContext.cs
  66. +15 −0 ...ccount/src/Lemon.Account.EntityFrameworkCore.MySQL/Lemon.Account.EntityFrameworkCore.MySQL.csproj
  67. +82 −0 ...count/src/Lemon.Account.EntityFrameworkCore.MySQL/LemonAccountDbContextModelCreatingExtensions.cs
  68. +27 −0 ...emon.Account/src/Lemon.Account.EntityFrameworkCore.MySQL/LemonAccountEntityFrameworkCoreModule.cs
  69. +41 −0 ...Practices/Lemon.Account/src/Lemon.Account.EntityFrameworkCore.MySQL/Repository/UserRepositiory.cs
  70. +31 −0 Best Practices/Lemon.Account/src/Lemon.Account.EntityFrameworkCore/AccountDbContext.cs
  71. +16 −0 ...ices/Lemon.Account/src/Lemon.Account.EntityFrameworkCore/Lemon.Account.EntityFrameworkCore.csproj
  72. +82 −0 ...mon.Account/src/Lemon.Account.EntityFrameworkCore/LemonAccountDbContextModelCreatingExtensions.cs
  73. +27 −0 ...ices/Lemon.Account/src/Lemon.Account.EntityFrameworkCore/LemonAccountEntityFrameworkCoreModule.cs
  74. +41 −0 Best Practices/Lemon.Account/src/Lemon.Account.EntityFrameworkCore/Repository/UserRepositiory.cs
  75. +28 −0 Best Practices/Lemon.Account/src/Lemon.Account.Host/Lemon.Account.Host.csproj
  76. +135 −0 Best Practices/Lemon.Account/src/Lemon.Account.Host/LemonAccountHostModule.cs
  77. +1,573 −0 Best Practices/Lemon.Account/src/Lemon.Account.Host/Logs/log20201013.txt
  78. +50 −0 Best Practices/Lemon.Account/src/Lemon.Account.Host/Program.cs
  79. +27 −0 Best Practices/Lemon.Account/src/Lemon.Account.Host/Properties/launchSettings.json
  80. +25 −0 Best Practices/Lemon.Account/src/Lemon.Account.Host/Startup.cs
  81. +9 −0 Best Practices/Lemon.Account/src/Lemon.Account.Host/appsettings.Development.json
  82. +26 −0 Best Practices/Lemon.Account/src/Lemon.Account.Host/appsettings.json
  83. +8 −0 Best Practices/Lemon.Account/src/Lemon.Account.HttpApi.Client/Class1.cs
  84. +7 −0 Best Practices/Lemon.Account/src/Lemon.Account.HttpApi.Client/Lemon.Account.HttpApi.Client.csproj
  85. +104 −0 Best Practices/Lemon.Account/src/Lemon.Account.HttpApi/Controllers/AccountController.cs
  86. +100 −0 Best Practices/Lemon.Account/src/Lemon.Account.HttpApi/Controllers/PermissionController.cs
  87. +83 −0 Best Practices/Lemon.Account/src/Lemon.Account.HttpApi/Controllers/RoleController.cs
  88. +96 −0 Best Practices/Lemon.Account/src/Lemon.Account.HttpApi/Controllers/UserController.cs
  89. +14 −0 Best Practices/Lemon.Account/src/Lemon.Account.HttpApi/Lemon.Account.HttpApi.csproj
  90. +29 −0 Best Practices/Lemon.Account/src/Lemon.Account.HttpApi/LemonAccountHttpApiModule.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

189 changes: 189 additions & 0 deletions Best Practices/Lemon.Account/Lemon.Account.sln
Original file line number Diff line number Diff line change
@@ -0,0 +1,189 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.26124.0
MinimumVisualStudioVersion = 15.0.26124.0
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{AE006186-1A60-4CF9-B579-B9F9AA6EB1D9}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Lemon.Account.Domain.Shared", "src\Lemon.Account.Domain.Shared\Lemon.Account.Domain.Shared.csproj", "{8C74C443-CEC7-4B16-8386-0C57455C7FF8}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Lemon.Account.Domain", "src\Lemon.Account.Domain\Lemon.Account.Domain.csproj", "{7D38F536-F863-47D3-BE45-544A7B52D26B}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Lemon.Account.EntityFrameworkCore", "src\Lemon.Account.EntityFrameworkCore\Lemon.Account.EntityFrameworkCore.csproj", "{2A71B4D3-845D-4DB4-8F30-68BD1B28FDBC}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Lemon.Account.EntityFrameworkCore.DbMigrations", "src\Lemon.Account.EntityFrameworkCore.DbMigrations\Lemon.Account.EntityFrameworkCore.DbMigrations.csproj", "{4BB24FF1-B800-47B9-BF9E-12119EB85A1C}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Lemon.Account.Application.Contracts", "src\Lemon.Account.Application.Contracts\Lemon.Account.Application.Contracts.csproj", "{9F4C22E6-1962-44B7-8566-652F1EAE97AB}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Lemon.Account.Application", "src\Lemon.Account.Application\Lemon.Account.Application.csproj", "{3B5C4269-6A76-40B2-9F2F-593E120612CA}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Lemon.Account.HttpApi", "src\Lemon.Account.HttpApi\Lemon.Account.HttpApi.csproj", "{4EB4CC48-48AC-46A1-82E9-03F44F7F91A5}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Lemon.Account.HttpApi.Client", "src\Lemon.Account.HttpApi.Client\Lemon.Account.HttpApi.Client.csproj", "{F773B905-59D9-4A51-BAB9-3DB56AAD7454}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Lemon.Account.Host", "src\Lemon.Account.Host\Lemon.Account.Host.csproj", "{7F0CAFB5-9157-4F73-8410-51E03CCEDFE4}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Lemon.Account.EntityFrameworkCore.MySQL", "src\Lemon.Account.EntityFrameworkCore.MySQL\Lemon.Account.EntityFrameworkCore.MySQL.csproj", "{FE16052C-3BE6-4F93-832F-C4CA02A470F8}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Lemon.Account.EntityFrameworkCore.MySQL.DbMigrations", "src\Lemon.Account.EntityFrameworkCore.MySQL.DbMigrations\Lemon.Account.EntityFrameworkCore.MySQL.DbMigrations.csproj", "{208723CA-A76E-47DE-942B-1ED9E1DCE974}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Debug|x64 = Debug|x64
Debug|x86 = Debug|x86
Release|Any CPU = Release|Any CPU
Release|x64 = Release|x64
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{8C74C443-CEC7-4B16-8386-0C57455C7FF8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{8C74C443-CEC7-4B16-8386-0C57455C7FF8}.Debug|Any CPU.Build.0 = Debug|Any CPU
{8C74C443-CEC7-4B16-8386-0C57455C7FF8}.Debug|x64.ActiveCfg = Debug|Any CPU
{8C74C443-CEC7-4B16-8386-0C57455C7FF8}.Debug|x64.Build.0 = Debug|Any CPU
{8C74C443-CEC7-4B16-8386-0C57455C7FF8}.Debug|x86.ActiveCfg = Debug|Any CPU
{8C74C443-CEC7-4B16-8386-0C57455C7FF8}.Debug|x86.Build.0 = Debug|Any CPU
{8C74C443-CEC7-4B16-8386-0C57455C7FF8}.Release|Any CPU.ActiveCfg = Release|Any CPU
{8C74C443-CEC7-4B16-8386-0C57455C7FF8}.Release|Any CPU.Build.0 = Release|Any CPU
{8C74C443-CEC7-4B16-8386-0C57455C7FF8}.Release|x64.ActiveCfg = Release|Any CPU
{8C74C443-CEC7-4B16-8386-0C57455C7FF8}.Release|x64.Build.0 = Release|Any CPU
{8C74C443-CEC7-4B16-8386-0C57455C7FF8}.Release|x86.ActiveCfg = Release|Any CPU
{8C74C443-CEC7-4B16-8386-0C57455C7FF8}.Release|x86.Build.0 = Release|Any CPU
{7D38F536-F863-47D3-BE45-544A7B52D26B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{7D38F536-F863-47D3-BE45-544A7B52D26B}.Debug|Any CPU.Build.0 = Debug|Any CPU
{7D38F536-F863-47D3-BE45-544A7B52D26B}.Debug|x64.ActiveCfg = Debug|Any CPU
{7D38F536-F863-47D3-BE45-544A7B52D26B}.Debug|x64.Build.0 = Debug|Any CPU
{7D38F536-F863-47D3-BE45-544A7B52D26B}.Debug|x86.ActiveCfg = Debug|Any CPU
{7D38F536-F863-47D3-BE45-544A7B52D26B}.Debug|x86.Build.0 = Debug|Any CPU
{7D38F536-F863-47D3-BE45-544A7B52D26B}.Release|Any CPU.ActiveCfg = Release|Any CPU
{7D38F536-F863-47D3-BE45-544A7B52D26B}.Release|Any CPU.Build.0 = Release|Any CPU
{7D38F536-F863-47D3-BE45-544A7B52D26B}.Release|x64.ActiveCfg = Release|Any CPU
{7D38F536-F863-47D3-BE45-544A7B52D26B}.Release|x64.Build.0 = Release|Any CPU
{7D38F536-F863-47D3-BE45-544A7B52D26B}.Release|x86.ActiveCfg = Release|Any CPU
{7D38F536-F863-47D3-BE45-544A7B52D26B}.Release|x86.Build.0 = Release|Any CPU
{2A71B4D3-845D-4DB4-8F30-68BD1B28FDBC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{2A71B4D3-845D-4DB4-8F30-68BD1B28FDBC}.Debug|Any CPU.Build.0 = Debug|Any CPU
{2A71B4D3-845D-4DB4-8F30-68BD1B28FDBC}.Debug|x64.ActiveCfg = Debug|Any CPU
{2A71B4D3-845D-4DB4-8F30-68BD1B28FDBC}.Debug|x64.Build.0 = Debug|Any CPU
{2A71B4D3-845D-4DB4-8F30-68BD1B28FDBC}.Debug|x86.ActiveCfg = Debug|Any CPU
{2A71B4D3-845D-4DB4-8F30-68BD1B28FDBC}.Debug|x86.Build.0 = Debug|Any CPU
{2A71B4D3-845D-4DB4-8F30-68BD1B28FDBC}.Release|Any CPU.ActiveCfg = Release|Any CPU
{2A71B4D3-845D-4DB4-8F30-68BD1B28FDBC}.Release|Any CPU.Build.0 = Release|Any CPU
{2A71B4D3-845D-4DB4-8F30-68BD1B28FDBC}.Release|x64.ActiveCfg = Release|Any CPU
{2A71B4D3-845D-4DB4-8F30-68BD1B28FDBC}.Release|x64.Build.0 = Release|Any CPU
{2A71B4D3-845D-4DB4-8F30-68BD1B28FDBC}.Release|x86.ActiveCfg = Release|Any CPU
{2A71B4D3-845D-4DB4-8F30-68BD1B28FDBC}.Release|x86.Build.0 = Release|Any CPU
{4BB24FF1-B800-47B9-BF9E-12119EB85A1C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{4BB24FF1-B800-47B9-BF9E-12119EB85A1C}.Debug|Any CPU.Build.0 = Debug|Any CPU
{4BB24FF1-B800-47B9-BF9E-12119EB85A1C}.Debug|x64.ActiveCfg = Debug|Any CPU
{4BB24FF1-B800-47B9-BF9E-12119EB85A1C}.Debug|x64.Build.0 = Debug|Any CPU
{4BB24FF1-B800-47B9-BF9E-12119EB85A1C}.Debug|x86.ActiveCfg = Debug|Any CPU
{4BB24FF1-B800-47B9-BF9E-12119EB85A1C}.Debug|x86.Build.0 = Debug|Any CPU
{4BB24FF1-B800-47B9-BF9E-12119EB85A1C}.Release|Any CPU.ActiveCfg = Release|Any CPU
{4BB24FF1-B800-47B9-BF9E-12119EB85A1C}.Release|Any CPU.Build.0 = Release|Any CPU
{4BB24FF1-B800-47B9-BF9E-12119EB85A1C}.Release|x64.ActiveCfg = Release|Any CPU
{4BB24FF1-B800-47B9-BF9E-12119EB85A1C}.Release|x64.Build.0 = Release|Any CPU
{4BB24FF1-B800-47B9-BF9E-12119EB85A1C}.Release|x86.ActiveCfg = Release|Any CPU
{4BB24FF1-B800-47B9-BF9E-12119EB85A1C}.Release|x86.Build.0 = Release|Any CPU
{9F4C22E6-1962-44B7-8566-652F1EAE97AB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{9F4C22E6-1962-44B7-8566-652F1EAE97AB}.Debug|Any CPU.Build.0 = Debug|Any CPU
{9F4C22E6-1962-44B7-8566-652F1EAE97AB}.Debug|x64.ActiveCfg = Debug|Any CPU
{9F4C22E6-1962-44B7-8566-652F1EAE97AB}.Debug|x64.Build.0 = Debug|Any CPU
{9F4C22E6-1962-44B7-8566-652F1EAE97AB}.Debug|x86.ActiveCfg = Debug|Any CPU
{9F4C22E6-1962-44B7-8566-652F1EAE97AB}.Debug|x86.Build.0 = Debug|Any CPU
{9F4C22E6-1962-44B7-8566-652F1EAE97AB}.Release|Any CPU.ActiveCfg = Release|Any CPU
{9F4C22E6-1962-44B7-8566-652F1EAE97AB}.Release|Any CPU.Build.0 = Release|Any CPU
{9F4C22E6-1962-44B7-8566-652F1EAE97AB}.Release|x64.ActiveCfg = Release|Any CPU
{9F4C22E6-1962-44B7-8566-652F1EAE97AB}.Release|x64.Build.0 = Release|Any CPU
{9F4C22E6-1962-44B7-8566-652F1EAE97AB}.Release|x86.ActiveCfg = Release|Any CPU
{9F4C22E6-1962-44B7-8566-652F1EAE97AB}.Release|x86.Build.0 = Release|Any CPU
{3B5C4269-6A76-40B2-9F2F-593E120612CA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{3B5C4269-6A76-40B2-9F2F-593E120612CA}.Debug|Any CPU.Build.0 = Debug|Any CPU
{3B5C4269-6A76-40B2-9F2F-593E120612CA}.Debug|x64.ActiveCfg = Debug|Any CPU
{3B5C4269-6A76-40B2-9F2F-593E120612CA}.Debug|x64.Build.0 = Debug|Any CPU
{3B5C4269-6A76-40B2-9F2F-593E120612CA}.Debug|x86.ActiveCfg = Debug|Any CPU
{3B5C4269-6A76-40B2-9F2F-593E120612CA}.Debug|x86.Build.0 = Debug|Any CPU
{3B5C4269-6A76-40B2-9F2F-593E120612CA}.Release|Any CPU.ActiveCfg = Release|Any CPU
{3B5C4269-6A76-40B2-9F2F-593E120612CA}.Release|Any CPU.Build.0 = Release|Any CPU
{3B5C4269-6A76-40B2-9F2F-593E120612CA}.Release|x64.ActiveCfg = Release|Any CPU
{3B5C4269-6A76-40B2-9F2F-593E120612CA}.Release|x64.Build.0 = Release|Any CPU
{3B5C4269-6A76-40B2-9F2F-593E120612CA}.Release|x86.ActiveCfg = Release|Any CPU
{3B5C4269-6A76-40B2-9F2F-593E120612CA}.Release|x86.Build.0 = Release|Any CPU
{4EB4CC48-48AC-46A1-82E9-03F44F7F91A5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{4EB4CC48-48AC-46A1-82E9-03F44F7F91A5}.Debug|Any CPU.Build.0 = Debug|Any CPU
{4EB4CC48-48AC-46A1-82E9-03F44F7F91A5}.Debug|x64.ActiveCfg = Debug|Any CPU
{4EB4CC48-48AC-46A1-82E9-03F44F7F91A5}.Debug|x64.Build.0 = Debug|Any CPU
{4EB4CC48-48AC-46A1-82E9-03F44F7F91A5}.Debug|x86.ActiveCfg = Debug|Any CPU
{4EB4CC48-48AC-46A1-82E9-03F44F7F91A5}.Debug|x86.Build.0 = Debug|Any CPU
{4EB4CC48-48AC-46A1-82E9-03F44F7F91A5}.Release|Any CPU.ActiveCfg = Release|Any CPU
{4EB4CC48-48AC-46A1-82E9-03F44F7F91A5}.Release|Any CPU.Build.0 = Release|Any CPU
{4EB4CC48-48AC-46A1-82E9-03F44F7F91A5}.Release|x64.ActiveCfg = Release|Any CPU
{4EB4CC48-48AC-46A1-82E9-03F44F7F91A5}.Release|x64.Build.0 = Release|Any CPU
{4EB4CC48-48AC-46A1-82E9-03F44F7F91A5}.Release|x86.ActiveCfg = Release|Any CPU
{4EB4CC48-48AC-46A1-82E9-03F44F7F91A5}.Release|x86.Build.0 = Release|Any CPU
{F773B905-59D9-4A51-BAB9-3DB56AAD7454}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{F773B905-59D9-4A51-BAB9-3DB56AAD7454}.Debug|Any CPU.Build.0 = Debug|Any CPU
{F773B905-59D9-4A51-BAB9-3DB56AAD7454}.Debug|x64.ActiveCfg = Debug|Any CPU
{F773B905-59D9-4A51-BAB9-3DB56AAD7454}.Debug|x64.Build.0 = Debug|Any CPU
{F773B905-59D9-4A51-BAB9-3DB56AAD7454}.Debug|x86.ActiveCfg = Debug|Any CPU
{F773B905-59D9-4A51-BAB9-3DB56AAD7454}.Debug|x86.Build.0 = Debug|Any CPU
{F773B905-59D9-4A51-BAB9-3DB56AAD7454}.Release|Any CPU.ActiveCfg = Release|Any CPU
{F773B905-59D9-4A51-BAB9-3DB56AAD7454}.Release|Any CPU.Build.0 = Release|Any CPU
{F773B905-59D9-4A51-BAB9-3DB56AAD7454}.Release|x64.ActiveCfg = Release|Any CPU
{F773B905-59D9-4A51-BAB9-3DB56AAD7454}.Release|x64.Build.0 = Release|Any CPU
{F773B905-59D9-4A51-BAB9-3DB56AAD7454}.Release|x86.ActiveCfg = Release|Any CPU
{F773B905-59D9-4A51-BAB9-3DB56AAD7454}.Release|x86.Build.0 = Release|Any CPU
{7F0CAFB5-9157-4F73-8410-51E03CCEDFE4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{7F0CAFB5-9157-4F73-8410-51E03CCEDFE4}.Debug|Any CPU.Build.0 = Debug|Any CPU
{7F0CAFB5-9157-4F73-8410-51E03CCEDFE4}.Debug|x64.ActiveCfg = Debug|Any CPU
{7F0CAFB5-9157-4F73-8410-51E03CCEDFE4}.Debug|x64.Build.0 = Debug|Any CPU
{7F0CAFB5-9157-4F73-8410-51E03CCEDFE4}.Debug|x86.ActiveCfg = Debug|Any CPU
{7F0CAFB5-9157-4F73-8410-51E03CCEDFE4}.Debug|x86.Build.0 = Debug|Any CPU
{7F0CAFB5-9157-4F73-8410-51E03CCEDFE4}.Release|Any CPU.ActiveCfg = Release|Any CPU
{7F0CAFB5-9157-4F73-8410-51E03CCEDFE4}.Release|Any CPU.Build.0 = Release|Any CPU
{7F0CAFB5-9157-4F73-8410-51E03CCEDFE4}.Release|x64.ActiveCfg = Release|Any CPU
{7F0CAFB5-9157-4F73-8410-51E03CCEDFE4}.Release|x64.Build.0 = Release|Any CPU
{7F0CAFB5-9157-4F73-8410-51E03CCEDFE4}.Release|x86.ActiveCfg = Release|Any CPU
{7F0CAFB5-9157-4F73-8410-51E03CCEDFE4}.Release|x86.Build.0 = Release|Any CPU
{FE16052C-3BE6-4F93-832F-C4CA02A470F8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{FE16052C-3BE6-4F93-832F-C4CA02A470F8}.Debug|Any CPU.Build.0 = Debug|Any CPU
{FE16052C-3BE6-4F93-832F-C4CA02A470F8}.Debug|x64.ActiveCfg = Debug|Any CPU
{FE16052C-3BE6-4F93-832F-C4CA02A470F8}.Debug|x64.Build.0 = Debug|Any CPU
{FE16052C-3BE6-4F93-832F-C4CA02A470F8}.Debug|x86.ActiveCfg = Debug|Any CPU
{FE16052C-3BE6-4F93-832F-C4CA02A470F8}.Debug|x86.Build.0 = Debug|Any CPU
{FE16052C-3BE6-4F93-832F-C4CA02A470F8}.Release|Any CPU.ActiveCfg = Release|Any CPU
{FE16052C-3BE6-4F93-832F-C4CA02A470F8}.Release|Any CPU.Build.0 = Release|Any CPU
{FE16052C-3BE6-4F93-832F-C4CA02A470F8}.Release|x64.ActiveCfg = Release|Any CPU
{FE16052C-3BE6-4F93-832F-C4CA02A470F8}.Release|x64.Build.0 = Release|Any CPU
{FE16052C-3BE6-4F93-832F-C4CA02A470F8}.Release|x86.ActiveCfg = Release|Any CPU
{FE16052C-3BE6-4F93-832F-C4CA02A470F8}.Release|x86.Build.0 = Release|Any CPU
{208723CA-A76E-47DE-942B-1ED9E1DCE974}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{208723CA-A76E-47DE-942B-1ED9E1DCE974}.Debug|Any CPU.Build.0 = Debug|Any CPU
{208723CA-A76E-47DE-942B-1ED9E1DCE974}.Debug|x64.ActiveCfg = Debug|Any CPU
{208723CA-A76E-47DE-942B-1ED9E1DCE974}.Debug|x64.Build.0 = Debug|Any CPU
{208723CA-A76E-47DE-942B-1ED9E1DCE974}.Debug|x86.ActiveCfg = Debug|Any CPU
{208723CA-A76E-47DE-942B-1ED9E1DCE974}.Debug|x86.Build.0 = Debug|Any CPU
{208723CA-A76E-47DE-942B-1ED9E1DCE974}.Release|Any CPU.ActiveCfg = Release|Any CPU
{208723CA-A76E-47DE-942B-1ED9E1DCE974}.Release|Any CPU.Build.0 = Release|Any CPU
{208723CA-A76E-47DE-942B-1ED9E1DCE974}.Release|x64.ActiveCfg = Release|Any CPU
{208723CA-A76E-47DE-942B-1ED9E1DCE974}.Release|x64.Build.0 = Release|Any CPU
{208723CA-A76E-47DE-942B-1ED9E1DCE974}.Release|x86.ActiveCfg = Release|Any CPU
{208723CA-A76E-47DE-942B-1ED9E1DCE974}.Release|x86.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{8C74C443-CEC7-4B16-8386-0C57455C7FF8} = {AE006186-1A60-4CF9-B579-B9F9AA6EB1D9}
{7D38F536-F863-47D3-BE45-544A7B52D26B} = {AE006186-1A60-4CF9-B579-B9F9AA6EB1D9}
{2A71B4D3-845D-4DB4-8F30-68BD1B28FDBC} = {AE006186-1A60-4CF9-B579-B9F9AA6EB1D9}
{4BB24FF1-B800-47B9-BF9E-12119EB85A1C} = {AE006186-1A60-4CF9-B579-B9F9AA6EB1D9}
{9F4C22E6-1962-44B7-8566-652F1EAE97AB} = {AE006186-1A60-4CF9-B579-B9F9AA6EB1D9}
{3B5C4269-6A76-40B2-9F2F-593E120612CA} = {AE006186-1A60-4CF9-B579-B9F9AA6EB1D9}
{4EB4CC48-48AC-46A1-82E9-03F44F7F91A5} = {AE006186-1A60-4CF9-B579-B9F9AA6EB1D9}
{F773B905-59D9-4A51-BAB9-3DB56AAD7454} = {AE006186-1A60-4CF9-B579-B9F9AA6EB1D9}
{7F0CAFB5-9157-4F73-8410-51E03CCEDFE4} = {AE006186-1A60-4CF9-B579-B9F9AA6EB1D9}
{FE16052C-3BE6-4F93-832F-C4CA02A470F8} = {AE006186-1A60-4CF9-B579-B9F9AA6EB1D9}
{208723CA-A76E-47DE-942B-1ED9E1DCE974} = {AE006186-1A60-4CF9-B579-B9F9AA6EB1D9}
EndGlobalSection
EndGlobal
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="IdentityModel" Version="4.4.0" />
<PackageReference Include="Microsoft.AspNetCore.Http.Abstractions" Version="2.2.0" />
<PackageReference Include="Volo.Abp.Ddd.Application.Contracts" Version="3.2.0" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
using Volo.Abp.Application;
using Volo.Abp.Modularity;

namespace Lemon.Account.Application.Contracts
{
[DependsOn(typeof(AbpDddApplicationContractsModule))]
public class LemonAccountApplicationContractsModule : AbpModule
{

}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
using Volo.Abp.Reflection;

namespace Lemon.Account.Application.Contracts.Permissions
{
public class AccountPermissions
{
private const string GroupName = "Lemon.Account";

public static class User
{
private const string Default = GroupName + ".User";
public const string Search = Default + ".Search";
public const string Delete = Default + ".Delete";
public const string Update = Default + ".Update";
public const string Create = Default + ".Create";
public const string UpdateMobile = Default + ".UpdateMobile";
}

public static class Role
{
private const string Default = GroupName + ".Role";
public const string Search = Default + ".Search";
public const string Delete = Default + ".Delete";
public const string Update = Default + ".Update";
public const string Create = Default + ".Create";
}

public static class Permission
{
private const string Default = GroupName + ".Permission";
public const string Search = Default + ".Search";
public const string Delete = Default + ".Delete";
public const string Update = Default + ".Update";
public const string Create = Default + ".Create";
}

public static string[] GetAll()
{
return ReflectionHelper.GetPublicConstantsRecursively(typeof(AccountPermissions));
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
using System;
using System.ComponentModel.DataAnnotations;
using System.Diagnostics.CodeAnalysis;

namespace Lemon.Account.Application
{
public class CreatePermissionDto
{
public Guid? ParentId { get; set; }

[Required(ErrorMessage = "名称不能为空")]
public string Name { get; set; }

[Required(ErrorMessage = "权限key不能为空")]
public string Permission { get; set; }
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
using System;

namespace Lemon.Account.Application
{
public class PermissionDto
{
public Guid Id { get; set; }

/// <summary>
/// 权限名称
/// </summary>
public string Name { get; set; }

/// <summary>
/// 权限
/// </summary>
public string Permission { get; set; }
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
using System;
using System.ComponentModel.DataAnnotations;

namespace Lemon.Account.Application
{
public class UpdatePermissionDto
{

[Required(ErrorMessage = "名称不能为空")]
public string Name { get; set; }

[Required(ErrorMessage = "权限key不能为空")]
public string Permission { get; set; }
}
}
Loading