更新框架与依赖
71
Directory.Build.JiShe.targets
Normal file
@ -0,0 +1,71 @@
|
|||||||
|
<Project>
|
||||||
|
<!-- JiShe.ServicePro包-->
|
||||||
|
<ItemGroup>
|
||||||
|
<PackageReference Update="JiShe.ServicePro.Core" Version="9.1.1.909"/>
|
||||||
|
<PackageReference Update="JiShe.ServicePro.CAP" Version="9.1.1.909"/>
|
||||||
|
<PackageReference Update="JiShe.ServicePro.CAP.EntityFrameworkCore" Version="9.1.1.909"/>
|
||||||
|
<PackageReference Update="JiShe.ServicePro.Localization" Version="9.1.1.909"/>
|
||||||
|
<PackageReference Update="JiShe.ServicePro.Oidc" Version="9.1.1.909"/>
|
||||||
|
<PackageReference Update="JiShe.ServicePro.TwoFactor" Version="9.1.1.909"/>
|
||||||
|
<PackageReference Update="JiShe.ServicePro.Shared.Hosting.Microservices" Version="9.1.1.909"/>
|
||||||
|
<PackageReference Update="JiShe.ServicePro.Shared.Hosting.Gateways" Version="9.1.1.909"/>
|
||||||
|
|
||||||
|
<PackageReference Update="JiShe.ServicePro.BasicManagement.Application" Version="9.1.1.909"/>
|
||||||
|
<PackageReference Update="JiShe.ServicePro.BasicManagement.Application.Contracts" Version="9.1.1.909"/>
|
||||||
|
<PackageReference Update="JiShe.ServicePro.BasicManagement.Domain" Version="9.1.1.909"/>
|
||||||
|
<PackageReference Update="JiShe.ServicePro.BasicManagement.Domain.Shared" Version="9.1.1.909"/>
|
||||||
|
<PackageReference Update="JiShe.ServicePro.BasicManagement.EntityFrameworkCore" Version="9.1.1.909"/>
|
||||||
|
<PackageReference Update="JiShe.ServicePro.BasicManagement.HttpApi" Version="9.1.1.909"/>
|
||||||
|
<PackageReference Update="JiShe.ServicePro.BasicManagement.HttpApi.Client" Version="9.1.1.909"/>
|
||||||
|
|
||||||
|
|
||||||
|
<PackageReference Update="JiShe.ServicePro.NotificationManagement.Application" Version="9.1.1.909"/>
|
||||||
|
<PackageReference Update="JiShe.ServicePro.NotificationManagement.Application.Contracts" Version="9.1.1.909"/>
|
||||||
|
<PackageReference Update="JiShe.ServicePro.NotificationManagement.Domain" Version="9.1.1.909"/>
|
||||||
|
<PackageReference Update="JiShe.ServicePro.NotificationManagement.Domain.Shared" Version="9.1.1.909"/>
|
||||||
|
<PackageReference Update="JiShe.ServicePro.NotificationManagement.EntityFrameworkCore" Version="9.1.1.909"/>
|
||||||
|
<PackageReference Update="JiShe.ServicePro.NotificationManagement.HttpApi" Version="9.1.1.909"/>
|
||||||
|
<PackageReference Update="JiShe.ServicePro.NotificationManagement.HttpApi.Client" Version="9.1.1.909"/>
|
||||||
|
|
||||||
|
<PackageReference Update="JiShe.ServicePro.DataDictionaryManagement.Application" Version="9.1.1.909"/>
|
||||||
|
<PackageReference Update="JiShe.ServicePro.DataDictionaryManagement.Application.Contracts" Version="9.1.1.909"/>
|
||||||
|
<PackageReference Update="JiShe.ServicePro.DataDictionaryManagement.Domain" Version="9.1.1.909"/>
|
||||||
|
<PackageReference Update="JiShe.ServicePro.DataDictionaryManagement.Domain.Shared" Version="9.1.1.909"/>
|
||||||
|
<PackageReference Update="JiShe.ServicePro.DataDictionaryManagement.EntityFrameworkCore" Version="9.1.1.909"/>
|
||||||
|
<PackageReference Update="JiShe.ServicePro.DataDictionaryManagement.HttpApi" Version="9.1.1.909"/>
|
||||||
|
<PackageReference Update="JiShe.ServicePro.DataDictionaryManagement.HttpApi.Client" Version="9.1.1.909"/>
|
||||||
|
|
||||||
|
<PackageReference Update="JiShe.ServicePro.LanguageManagement.Application" Version="9.1.1.909"/>
|
||||||
|
<PackageReference Update="JiShe.ServicePro.LanguageManagement.Application.Contracts" Version="9.1.1.909"/>
|
||||||
|
<PackageReference Update="JiShe.ServicePro.LanguageManagement.Domain" Version="9.1.1.909"/>
|
||||||
|
<PackageReference Update="JiShe.ServicePro.LanguageManagement.Domain.Shared" Version="9.1.1.909"/>
|
||||||
|
<PackageReference Update="JiShe.ServicePro.LanguageManagement.EntityFrameworkCore" Version="9.1.1.909"/>
|
||||||
|
<PackageReference Update="JiShe.ServicePro.LanguageManagement.HttpApi" Version="9.1.1.909"/>
|
||||||
|
<PackageReference Update="JiShe.ServicePro.LanguageManagement.HttpApi.Client" Version="9.1.1.909"/>
|
||||||
|
|
||||||
|
<PackageReference Update="JiShe.ServicePro.CodeManagement.Application" Version="9.1.1.909"/>
|
||||||
|
<PackageReference Update="JiShe.ServicePro.CodeManagement.Application.Contracts" Version="9.1.1.909"/>
|
||||||
|
<PackageReference Update="JiShe.ServicePro.CodeManagement.Domain" Version="9.1.1.909"/>
|
||||||
|
<PackageReference Update="JiShe.ServicePro.CodeManagement.Domain.Shared" Version="9.1.1.909"/>
|
||||||
|
<PackageReference Update="JiShe.ServicePro.CodeManagement.EntityFrameworkCore" Version="9.1.1.909"/>
|
||||||
|
<PackageReference Update="JiShe.ServicePro.CodeManagement.HttpApi" Version="9.1.1.909"/>
|
||||||
|
<PackageReference Update="JiShe.ServicePro.CodeManagement.HttpApi.Client" Version="9.1.1.909"/>
|
||||||
|
|
||||||
|
|
||||||
|
<PackageReference Update="JiShe.ServicePro.TemplateManagement.Application" Version="9.1.1.909"/>
|
||||||
|
<PackageReference Update="JiShe.ServicePro.TemplateManagement.Application.Contracts" Version="9.1.1.909"/>
|
||||||
|
<PackageReference Update="JiShe.ServicePro.TemplateManagement.Domain" Version="9.1.1.909"/>
|
||||||
|
<PackageReference Update="JiShe.ServicePro.TemplateManagement.Domain.Shared" Version="9.1.1.909"/>
|
||||||
|
<PackageReference Update="JiShe.ServicePro.TemplateManagement.EntityFrameworkCore" Version="9.1.1.909"/>
|
||||||
|
<PackageReference Update="JiShe.ServicePro.TemplateManagement.HttpApi" Version="9.1.1.909"/>
|
||||||
|
<PackageReference Update="JiShe.ServicePro.TemplateManagement.HttpApi.Client" Version="9.1.1.909"/>
|
||||||
|
|
||||||
|
<PackageReference Update="JiShe.ServicePro.DynamicMenuManagement.Application" Version="9.1.1.909"/>
|
||||||
|
<PackageReference Update="JiShe.ServicePro.DynamicMenuManagement.Application.Contracts" Version="9.1.1.909"/>
|
||||||
|
<PackageReference Update="JiShe.ServicePro.DynamicMenuManagement.Domain" Version="9.1.1.909"/>
|
||||||
|
<PackageReference Update="JiShe.ServicePro.DynamicMenuManagement.Domain.Shared" Version="9.1.1.909"/>
|
||||||
|
<PackageReference Update="JiShe.ServicePro.DynamicMenuManagement.EntityFrameworkCore" Version="9.1.1.909"/>
|
||||||
|
<PackageReference Update="JiShe.ServicePro.DynamicMenuManagement.HttpApi" Version="9.1.1.909"/>
|
||||||
|
<PackageReference Update="JiShe.ServicePro.DynamicMenuManagement.HttpApi.Client" Version="9.1.1.909"/>
|
||||||
|
</ItemGroup>
|
||||||
|
</Project>
|
||||||
@ -1,41 +0,0 @@
|
|||||||
<Project>
|
|
||||||
<!-- Lion.AbpPro包-->
|
|
||||||
<ItemGroup>
|
|
||||||
<PackageReference Update="Lion.AbpPro.Core" Version="9.0.6.10"/>
|
|
||||||
<PackageReference Update="Lion.AbpPro.Shared.Hosting.Microservices" Version="9.0.6.10"/>
|
|
||||||
<PackageReference Update="Lion.AbpPro.Shared.Hosting.Gateways" Version="9.0.6.10"/>
|
|
||||||
|
|
||||||
<PackageReference Update="Lion.AbpPro.BasicManagement.Application" Version="9.0.6.10"/>
|
|
||||||
<PackageReference Update="Lion.AbpPro.BasicManagement.Application.Contracts" Version="9.0.6.10"/>
|
|
||||||
<PackageReference Update="Lion.AbpPro.BasicManagement.Domain" Version="9.0.6.10"/>
|
|
||||||
<PackageReference Update="Lion.AbpPro.BasicManagement.Domain.Shared" Version="9.0.6.10"/>
|
|
||||||
<PackageReference Update="Lion.AbpPro.BasicManagement.EntityFrameworkCore" Version="9.0.6.10"/>
|
|
||||||
<PackageReference Update="Lion.AbpPro.BasicManagement.HttpApi" Version="9.0.6.10"/>
|
|
||||||
<PackageReference Update="Lion.AbpPro.BasicManagement.HttpApi.Client" Version="9.0.6.10"/>
|
|
||||||
|
|
||||||
|
|
||||||
<PackageReference Update="Lion.AbpPro.NotificationManagement.Application" Version="9.0.6.10"/>
|
|
||||||
<PackageReference Update="Lion.AbpPro.NotificationManagement.Application.Contracts" Version="9.0.6.10"/>
|
|
||||||
<PackageReference Update="Lion.AbpPro.NotificationManagement.Domain" Version="9.0.6.10"/>
|
|
||||||
<PackageReference Update="Lion.AbpPro.NotificationManagement.Domain.Shared" Version="9.0.6.10"/>
|
|
||||||
<PackageReference Update="Lion.AbpPro.NotificationManagement.EntityFrameworkCore" Version="9.0.6.10"/>
|
|
||||||
<PackageReference Update="Lion.AbpPro.NotificationManagement.HttpApi" Version="9.0.6.10"/>
|
|
||||||
<PackageReference Update="Lion.AbpPro.NotificationManagement.HttpApi.Client" Version="9.0.6.10"/>
|
|
||||||
|
|
||||||
<PackageReference Update="Lion.AbpPro.DataDictionaryManagement.Application" Version="9.0.6.10"/>
|
|
||||||
<PackageReference Update="Lion.AbpPro.DataDictionaryManagement.Application.Contracts" Version="9.0.6.10"/>
|
|
||||||
<PackageReference Update="Lion.AbpPro.DataDictionaryManagement.Domain" Version="9.0.6.10"/>
|
|
||||||
<PackageReference Update="Lion.AbpPro.DataDictionaryManagement.Domain.Shared" Version="9.0.6.10"/>
|
|
||||||
<PackageReference Update="Lion.AbpPro.DataDictionaryManagement.EntityFrameworkCore" Version="9.0.6.10"/>
|
|
||||||
<PackageReference Update="Lion.AbpPro.DataDictionaryManagement.HttpApi" Version="9.0.6.10"/>
|
|
||||||
<PackageReference Update="Lion.AbpPro.DataDictionaryManagement.HttpApi.Client" Version="9.0.6.10"/>
|
|
||||||
|
|
||||||
<PackageReference Update="Lion.AbpPro.LanguageManagement.Application" Version="9.0.6.10"/>
|
|
||||||
<PackageReference Update="Lion.AbpPro.LanguageManagement.Application.Contracts" Version="9.0.6.10"/>
|
|
||||||
<PackageReference Update="Lion.AbpPro.LanguageManagement.Domain" Version="9.0.6.10"/>
|
|
||||||
<PackageReference Update="Lion.AbpPro.LanguageManagement.Domain.Shared" Version="9.0.6.10"/>
|
|
||||||
<PackageReference Update="Lion.AbpPro.LanguageManagement.EntityFrameworkCore" Version="9.0.6.10"/>
|
|
||||||
<PackageReference Update="Lion.AbpPro.LanguageManagement.HttpApi" Version="9.0.6.10"/>
|
|
||||||
<PackageReference Update="Lion.AbpPro.LanguageManagement.HttpApi.Client" Version="9.0.6.10"/>
|
|
||||||
</ItemGroup>
|
|
||||||
</Project>
|
|
||||||
@ -1,94 +1,98 @@
|
|||||||
<Project>
|
<Project>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Update="Volo.Abp.Autofac" Version="9.0.4"/>
|
<PackageReference Update="Volo.Abp.Autofac" Version="9.1.1"/>
|
||||||
<PackageReference Update="Volo.Abp.Threading" Version="9.0.4"/>
|
<PackageReference Update="Volo.Abp.Threading" Version="9.1.1"/>
|
||||||
<PackageReference Update="Volo.Abp.Json" Version="9.0.4"/>
|
<PackageReference Update="Volo.Abp.Json" Version="9.1.1"/>
|
||||||
<PackageReference Update="Volo.Abp.Validation" Version="9.0.4"/>
|
<PackageReference Update="Volo.Abp.Json.Abstractions" Version="9.1.1"/>
|
||||||
<PackageReference Update="Volo.Abp.Ddd.Domain" Version="9.0.4"/>
|
<PackageReference Update="Volo.Abp.Validation" Version="9.1.1"/>
|
||||||
<PackageReference Update="Volo.Abp.AutoMapper" Version="9.0.4"/>
|
<PackageReference Update="Volo.Abp.Ddd.Domain" Version="9.1.1"/>
|
||||||
<PackageReference Update="Volo.Abp.ObjectMapping" Version="9.0.4"/>
|
<PackageReference Update="Volo.Abp.AutoMapper" Version="9.1.1"/>
|
||||||
<PackageReference Update="Volo.Abp.Identity.AspNetCore" Version="9.0.4"/>
|
<PackageReference Update="Volo.Abp.Settings" Version="9.1.1"/>
|
||||||
<PackageReference Update="Volo.Abp.Caching" Version="9.0.4"/>
|
<PackageReference Update="Volo.Abp.ObjectMapping" Version="9.1.1"/>
|
||||||
<PackageReference Update="Volo.Abp.BlobStoring.Aliyun" Version="9.0.4"/>
|
<PackageReference Update="Volo.Abp.Identity.AspNetCore" Version="9.1.1"/>
|
||||||
<PackageReference Update="Volo.Abp.BackgroundJobs" Version="9.0.4"/>
|
<PackageReference Update="Volo.Abp.Caching" Version="9.1.1"/>
|
||||||
<PackageReference Update="Volo.Abp.Authorization.Abstractions" Version="9.0.4"/>
|
<PackageReference Update="Volo.Abp.BlobStoring.Aliyun" Version="9.1.1"/>
|
||||||
<PackageReference Update="Volo.Abp.BackgroundJobs.HangFire" Version="9.0.4"/>
|
<PackageReference Update="Volo.Abp.BlobStoring" Version="9.1.1"/>
|
||||||
<PackageReference Update="Volo.Abp.AspNetCore.SignalR" Version="9.0.4"/>
|
<PackageReference Update="Volo.Abp.BlobStoring.FileSystem" Version="9.1.1"/>
|
||||||
<PackageReference Update="Volo.Abp.TestBase" Version="9.0.4"/>
|
<PackageReference Update="Volo.Abp.BackgroundJobs" Version="9.1.1"/>
|
||||||
<PackageReference Update="Volo.Abp.EntityFrameworkCore.MySQL" Version="9.0.4"/>
|
<PackageReference Update="Volo.Abp.Authorization.Abstractions" Version="9.1.1"/>
|
||||||
<PackageReference Update="Volo.Abp.PermissionManagement.EntityFrameworkCore" Version="9.0.4"/>
|
<PackageReference Update="Volo.Abp.BackgroundJobs.HangFire" Version="9.1.1"/>
|
||||||
<PackageReference Update="Volo.Abp.SettingManagement.EntityFrameworkCore" Version="9.0.4"/>
|
<PackageReference Update="Volo.Abp.AspNetCore.SignalR" Version="9.1.1"/>
|
||||||
<PackageReference Update="Volo.Abp.Identity.EntityFrameworkCore" Version="9.0.4"/>
|
<PackageReference Update="Volo.Abp.TestBase" Version="9.1.1"/>
|
||||||
<PackageReference Update="Volo.Abp.BackgroundJobs.EntityFrameworkCore" Version="9.0.4"/>
|
<PackageReference Update="Volo.Abp.EntityFrameworkCore.MySQL" Version="9.1.1"/>
|
||||||
<PackageReference Update="Volo.Abp.AuditLogging.EntityFrameworkCore" Version="9.0.4"/>
|
<PackageReference Update="Volo.Abp.PermissionManagement.EntityFrameworkCore" Version="9.1.1"/>
|
||||||
<PackageReference Update="Volo.Abp.TenantManagement.EntityFrameworkCore" Version="9.0.4"/>
|
<PackageReference Update="Volo.Abp.SettingManagement.EntityFrameworkCore" Version="9.1.1"/>
|
||||||
<PackageReference Update="Volo.Abp.FeatureManagement.EntityFrameworkCore" Version="9.0.4"/>
|
<PackageReference Update="Volo.Abp.Identity.EntityFrameworkCore" Version="9.1.1"/>
|
||||||
<PackageReference Update="Volo.Abp.AspNetCore.Authentication.JwtBearer" Version="9.0.4"/>
|
<PackageReference Update="Volo.Abp.BackgroundJobs.EntityFrameworkCore" Version="9.1.1"/>
|
||||||
<PackageReference Update="Volo.Abp.AspNetCore.Mvc.Contracts" Version="9.0.4"/>
|
<PackageReference Update="Volo.Abp.AuditLogging.EntityFrameworkCore" Version="9.1.1"/>
|
||||||
<PackageReference Update="Volo.Abp.Account.Web" Version="9.0.4"/>
|
<PackageReference Update="Volo.Abp.TenantManagement.EntityFrameworkCore" Version="9.1.1"/>
|
||||||
<PackageReference Update="Volo.Abp.Caching.StackExchangeRedis" Version="9.0.4"/>
|
<PackageReference Update="Volo.Abp.FeatureManagement.EntityFrameworkCore" Version="9.1.1"/>
|
||||||
<PackageReference Update="Volo.Abp.AspNetCore.Mvc.UI.MultiTenancy" Version="9.0.4"/>
|
<PackageReference Update="Volo.Abp.AspNetCore.Authentication.JwtBearer" Version="9.1.1"/>
|
||||||
<PackageReference Update="Volo.Abp.EntityFrameworkCore.PostgreSql" Version="9.0.4"/>
|
<PackageReference Update="Volo.Abp.AspNetCore.Mvc.Contracts" Version="9.1.1"/>
|
||||||
<PackageReference Update="Volo.Abp.AspNetCore.Serilog" Version="9.0.4"/>
|
<PackageReference Update="Volo.Abp.Account.Web" Version="9.1.1"/>
|
||||||
<PackageReference Update="Volo.Abp.Swashbuckle" Version="9.0.4"/>
|
<PackageReference Update="Volo.Abp.Caching.StackExchangeRedis" Version="9.1.1"/>
|
||||||
<PackageReference Update="Volo.Abp.Ddd.Application" Version="9.0.4"/>
|
<PackageReference Update="Volo.Abp.AspNetCore.Mvc.UI.MultiTenancy" Version="9.1.1"/>
|
||||||
<PackageReference Update="Volo.Abp.Ddd.Application.Contracts" Version="9.0.4"/>
|
<PackageReference Update="Volo.Abp.EntityFrameworkCore.PostgreSql" Version="9.1.1"/>
|
||||||
<PackageReference Update="Volo.Abp.Authorization" Version="9.0.4"/>
|
<PackageReference Update="Volo.Abp.AspNetCore.Serilog" Version="9.1.1"/>
|
||||||
<PackageReference Update="Volo.Abp.Dapper" Version="9.0.4"/>
|
<PackageReference Update="Volo.Abp.Swashbuckle" Version="9.1.1"/>
|
||||||
<PackageReference Update="Volo.Abp.AspNetCore.Mvc" Version="9.0.4"/>
|
<PackageReference Update="Volo.Abp.Ddd.Application" Version="9.1.1"/>
|
||||||
<PackageReference Update="Volo.Abp.Http.Client" Version="9.0.4"/>
|
<PackageReference Update="Volo.Abp.Ddd.Application.Contracts" Version="9.1.1"/>
|
||||||
<PackageReference Update="Volo.Abp.MongoDB" Version="9.0.4"/>
|
<PackageReference Update="Volo.Abp.Authorization" Version="9.1.1"/>
|
||||||
<PackageReference Update="Volo.Abp.EntityFrameworkCore.Sqlite" Version="9.0.4"/>
|
<PackageReference Update="Volo.Abp.Dapper" Version="9.1.1"/>
|
||||||
<PackageReference Update="Volo.Abp.Http.Client.IdentityModel" Version="9.0.4"/>
|
<PackageReference Update="Volo.Abp.AspNetCore.Mvc" Version="9.1.1"/>
|
||||||
<PackageReference Update="Volo.Abp.AspNetCore.MultiTenancy" Version="9.0.4"/>
|
<PackageReference Update="Volo.Abp.Http.Client" Version="9.1.1"/>
|
||||||
<PackageReference Update="Volo.Abp.Account.Application" Version="9.0.4"/>
|
<PackageReference Update="Volo.Abp.MongoDB" Version="9.1.1"/>
|
||||||
<PackageReference Update="Volo.Abp.Identity.Application" Version="9.0.4"/>
|
<PackageReference Update="Volo.Abp.EntityFrameworkCore.Sqlite" Version="9.1.1"/>
|
||||||
<PackageReference Update="Volo.Abp.PermissionManagement.Application" Version="9.0.4"/>
|
<PackageReference Update="Volo.Abp.Http.Client.IdentityModel" Version="9.1.1"/>
|
||||||
<PackageReference Update="Volo.Abp.TenantManagement.Application" Version="9.0.4"/>
|
<PackageReference Update="Volo.Abp.AspNetCore.MultiTenancy" Version="9.1.1"/>
|
||||||
<PackageReference Update="Volo.Abp.FeatureManagement.Application" Version="9.0.4"/>
|
<PackageReference Update="Volo.Abp.Account.Application" Version="9.1.1"/>
|
||||||
<PackageReference Update="Volo.Abp.SettingManagement.Application" Version="9.0.4"/>
|
<PackageReference Update="Volo.Abp.Identity.Application" Version="9.1.1"/>
|
||||||
<PackageReference Update="Volo.Abp.ObjectExtending" Version="9.0.4"/>
|
<PackageReference Update="Volo.Abp.PermissionManagement.Application" Version="9.1.1"/>
|
||||||
<PackageReference Update="Volo.Abp.Account.Application.Contracts" Version="9.0.4"/>
|
<PackageReference Update="Volo.Abp.TenantManagement.Application" Version="9.1.1"/>
|
||||||
<PackageReference Update="Volo.Abp.Identity.Application.Contracts" Version="9.0.4"/>
|
<PackageReference Update="Volo.Abp.FeatureManagement.Application" Version="9.1.1"/>
|
||||||
<PackageReference Update="Volo.Abp.PermissionManagement.Application.Contracts" Version="9.0.4"/>
|
<PackageReference Update="Volo.Abp.SettingManagement.Application" Version="9.1.1"/>
|
||||||
<PackageReference Update="Volo.Abp.TenantManagement.Application.Contracts" Version="9.0.4"/>
|
<PackageReference Update="Volo.Abp.ObjectExtending" Version="9.1.1"/>
|
||||||
<PackageReference Update="Volo.Abp.FeatureManagement.Application.Contracts" Version="9.0.4"/>
|
<PackageReference Update="Volo.Abp.Account.Application.Contracts" Version="9.1.1"/>
|
||||||
<PackageReference Update="Volo.Abp.SettingManagement.Application.Contracts" Version="9.0.4"/>
|
<PackageReference Update="Volo.Abp.Identity.Application.Contracts" Version="9.1.1"/>
|
||||||
<PackageReference Update="Volo.Abp.Emailing" Version="9.0.4"/>
|
<PackageReference Update="Volo.Abp.PermissionManagement.Application.Contracts" Version="9.1.1"/>
|
||||||
<PackageReference Update="Volo.Abp.PermissionManagement.Domain.Identity" Version="9.0.4"/>
|
<PackageReference Update="Volo.Abp.TenantManagement.Application.Contracts" Version="9.1.1"/>
|
||||||
<PackageReference Update="Volo.Abp.BackgroundJobs.Domain" Version="9.0.4"/>
|
<PackageReference Update="Volo.Abp.FeatureManagement.Application.Contracts" Version="9.1.1"/>
|
||||||
<PackageReference Update="Volo.Abp.AuditLogging.Domain" Version="9.0.4"/>
|
<PackageReference Update="Volo.Abp.SettingManagement.Application.Contracts" Version="9.1.1"/>
|
||||||
<PackageReference Update="Volo.Abp.TenantManagement.Domain" Version="9.0.4"/>
|
<PackageReference Update="Volo.Abp.Emailing" Version="9.1.1"/>
|
||||||
<PackageReference Update="Volo.Abp.FeatureManagement.Domain" Version="9.0.4"/>
|
<PackageReference Update="Volo.Abp.PermissionManagement.Domain.Identity" Version="9.1.1"/>
|
||||||
<PackageReference Update="Volo.Abp.SettingManagement.Domain" Version="9.0.4"/>
|
<PackageReference Update="Volo.Abp.BackgroundJobs.Domain" Version="9.1.1"/>
|
||||||
<PackageReference Update="Volo.Abp.Identity.Domain" Version="9.0.4"/>
|
<PackageReference Update="Volo.Abp.AuditLogging.Domain" Version="9.1.1"/>
|
||||||
<PackageReference Update="Volo.Abp.Identity.Domain.Shared" Version="9.0.4"/>
|
<PackageReference Update="Volo.Abp.TenantManagement.Domain" Version="9.1.1"/>
|
||||||
<PackageReference Update="Volo.Abp.BackgroundJobs.Domain.Shared" Version="9.0.4"/>
|
<PackageReference Update="Volo.Abp.FeatureManagement.Domain" Version="9.1.1"/>
|
||||||
<PackageReference Update="Volo.Abp.AuditLogging.Domain.Shared" Version="9.0.4"/>
|
<PackageReference Update="Volo.Abp.SettingManagement.Domain" Version="9.1.1"/>
|
||||||
<PackageReference Update="Volo.Abp.TenantManagement.Domain.Shared" Version="9.0.4"/>
|
<PackageReference Update="Volo.Abp.Identity.Domain" Version="9.1.1"/>
|
||||||
<PackageReference Update="Volo.Abp.FeatureManagement.Domain.Shared" Version="9.0.4"/>
|
<PackageReference Update="Volo.Abp.Identity.Domain.Shared" Version="9.1.1"/>
|
||||||
<PackageReference Update="Volo.Abp.PermissionManagement.Domain.Shared" Version="9.0.4"/>
|
<PackageReference Update="Volo.Abp.BackgroundJobs.Domain.Shared" Version="9.1.1"/>
|
||||||
<PackageReference Update="Volo.Abp.SettingManagement.Domain.Shared" Version="9.0.4"/>
|
<PackageReference Update="Volo.Abp.AuditLogging.Domain.Shared" Version="9.1.1"/>
|
||||||
<PackageReference Update="Volo.Abp.Account.HttpApi" Version="9.0.4"/>
|
<PackageReference Update="Volo.Abp.TenantManagement.Domain.Shared" Version="9.1.1"/>
|
||||||
<PackageReference Update="Volo.Abp.Identity.HttpApi" Version="9.0.4"/>
|
<PackageReference Update="Volo.Abp.FeatureManagement.Domain.Shared" Version="9.1.1"/>
|
||||||
<PackageReference Update="Volo.Abp.PermissionManagement.HttpApi" Version="9.0.4"/>
|
<PackageReference Update="Volo.Abp.PermissionManagement.Domain.Shared" Version="9.1.1"/>
|
||||||
<PackageReference Update="Volo.Abp.TenantManagement.HttpApi" Version="9.0.4"/>
|
<PackageReference Update="Volo.Abp.SettingManagement.Domain.Shared" Version="9.1.1"/>
|
||||||
<PackageReference Update="Volo.Abp.FeatureManagement.HttpApi" Version="9.0.4"/>
|
<PackageReference Update="Volo.Abp.Account.HttpApi" Version="9.1.1"/>
|
||||||
<PackageReference Update="Volo.Abp.SettingManagement.HttpApi" Version="9.0.4"/>
|
<PackageReference Update="Volo.Abp.Identity.HttpApi" Version="9.1.1"/>
|
||||||
<PackageReference Update="Volo.Abp.Account.HttpApi.Client" Version="9.0.4"/>
|
<PackageReference Update="Volo.Abp.PermissionManagement.HttpApi" Version="9.1.1"/>
|
||||||
<PackageReference Update="Volo.Abp.Identity.HttpApi.Client" Version="9.0.4"/>
|
<PackageReference Update="Volo.Abp.TenantManagement.HttpApi" Version="9.1.1"/>
|
||||||
<PackageReference Update="Volo.Abp.PermissionManagement.HttpApi.Client" Version="9.0.4"/>
|
<PackageReference Update="Volo.Abp.FeatureManagement.HttpApi" Version="9.1.1"/>
|
||||||
<PackageReference Update="Volo.Abp.TenantManagement.HttpApi.Client" Version="9.0.4"/>
|
<PackageReference Update="Volo.Abp.SettingManagement.HttpApi" Version="9.1.1"/>
|
||||||
<PackageReference Update="Volo.Abp.FeatureManagement.HttpApi.Client" Version="9.0.4"/>
|
<PackageReference Update="Volo.Abp.Account.HttpApi.Client" Version="9.1.1"/>
|
||||||
<PackageReference Update="Volo.Abp.SettingManagement.HttpApi.Client" Version="9.0.4"/>
|
<PackageReference Update="Volo.Abp.Identity.HttpApi.Client" Version="9.1.1"/>
|
||||||
<PackageReference Update="Volo.Abp" Version="9.0.4"/>
|
<PackageReference Update="Volo.Abp.PermissionManagement.HttpApi.Client" Version="9.1.1"/>
|
||||||
<PackageReference Update="Volo.Abp.AspNetCore" Version="9.0.4"/>
|
<PackageReference Update="Volo.Abp.TenantManagement.HttpApi.Client" Version="9.1.1"/>
|
||||||
<PackageReference Update="Volo.Abp.Core" Version="9.0.4"/>
|
<PackageReference Update="Volo.Abp.FeatureManagement.HttpApi.Client" Version="9.1.1"/>
|
||||||
<PackageReference Update="Volo.Abp.EntityFrameworkCore" Version="9.0.4"/>
|
<PackageReference Update="Volo.Abp.SettingManagement.HttpApi.Client" Version="9.1.1"/>
|
||||||
<PackageReference Update="Volo.Abp.AspNetCore.TestBase" Version="9.0.4"/>
|
<PackageReference Update="Volo.Abp" Version="9.1.1"/>
|
||||||
<PackageReference Update="Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic" Version="9.0.4"/>
|
<PackageReference Update="Volo.Abp.AspNetCore" Version="9.1.1"/>
|
||||||
<PackageReference Update="Volo.Abp.EventBus" Version="9.0.4"/>
|
<PackageReference Update="Volo.Abp.Core" Version="9.1.1"/>
|
||||||
<PackageReference Update="Volo.Abp.Localization" Version="9.0.4" />
|
<PackageReference Update="Volo.Abp.EntityFrameworkCore" Version="9.1.1"/>
|
||||||
<PackageReference Update="Volo.Abp.DistributedLocking" Version="9.0.4" />
|
<PackageReference Update="Volo.Abp.AspNetCore.TestBase" Version="9.1.1"/>
|
||||||
|
<PackageReference Update="Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic" Version="9.1.1"/>
|
||||||
|
<PackageReference Update="Volo.Abp.EventBus" Version="9.1.1"/>
|
||||||
|
<PackageReference Update="Volo.Abp.Localization" Version="9.1.1" />
|
||||||
|
<PackageReference Update="Volo.Abp.DistributedLocking" Version="9.1.1" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
</Project>
|
</Project>
|
||||||
@ -2,8 +2,8 @@
|
|||||||
|
|
||||||
<Import Project="Directory.Build.Microsoft.targets"/>
|
<Import Project="Directory.Build.Microsoft.targets"/>
|
||||||
<Import Project="Directory.Build.Volo.targets"/>
|
<Import Project="Directory.Build.Volo.targets"/>
|
||||||
<Import Project="Directory.Build.Lion.targets"/>
|
<Import Project="Directory.Build.JiShe.targets"/>
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<LangVersion>latest</LangVersion>
|
<LangVersion>latest</LangVersion>
|
||||||
<Version>1.0.0</Version>
|
<Version>1.0.0</Version>
|
||||||
@ -47,12 +47,12 @@
|
|||||||
<PackageReference Update="Hangfire.Redis.StackExchange" Version="1.9.3"/>
|
<PackageReference Update="Hangfire.Redis.StackExchange" Version="1.9.3"/>
|
||||||
|
|
||||||
<!-- CAP 分布式事务-->
|
<!-- CAP 分布式事务-->
|
||||||
<PackageReference Update="DotNetCore.CAP" Version="8.0.0"/>
|
<PackageReference Update="DotNetCore.CAP" Version="8.3.3"/>
|
||||||
<PackageReference Update="DotNetCore.CAP.Dashboard" Version="8.0.0"/>
|
<PackageReference Update="DotNetCore.CAP.Dashboard" Version="8.3.3"/>
|
||||||
<PackageReference Update="DotNetCore.CAP.Mysql" Version="8.0.0"/>
|
<PackageReference Update="DotNetCore.CAP.Mysql" Version="8.3.3"/>
|
||||||
<PackageReference Update="DotNetCore.CAP.RabbitMQ" Version="8.0.0"/>
|
<PackageReference Update="DotNetCore.CAP.RabbitMQ" Version="8.3.3"/>
|
||||||
<PackageReference Update="DotNetCore.CAP.InMemoryStorage" Version="8.0.0"/>
|
<PackageReference Update="DotNetCore.CAP.InMemoryStorage" Version="8.3.3"/>
|
||||||
<PackageReference Update="Savorboard.CAP.InMemoryMessageQueue" Version="7.0.0"/>
|
<PackageReference Update="Savorboard.CAP.InMemoryMessageQueue" Version="8.2.1"/>
|
||||||
|
|
||||||
<!-- Swagger-->
|
<!-- Swagger-->
|
||||||
<PackageReference Update="Swashbuckle.AspNetCore.SwaggerUI" Version="6.8.1"/>
|
<PackageReference Update="Swashbuckle.AspNetCore.SwaggerUI" Version="6.8.1"/>
|
||||||
|
|||||||
35
Dockerfile
@ -1,30 +1,6 @@
|
|||||||
# FROM mcr.microsoft.com/dotnet/aspnet:8.0
|
|
||||||
|
|
||||||
# # 创建目录
|
|
||||||
# RUN mkdir /app
|
|
||||||
|
|
||||||
# COPY publish /app
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# # 设置工作目录
|
|
||||||
# WORKDIR /app
|
|
||||||
|
|
||||||
# # 暴露80端口
|
|
||||||
# EXPOSE 80
|
|
||||||
# # 设置时区 .net6 才有这个问题
|
|
||||||
# ENV TZ=Asia/Shanghai
|
|
||||||
|
|
||||||
# # 设置环境变量
|
|
||||||
# ENV ASPNETCORE_ENVIRONMENT=Production
|
|
||||||
|
|
||||||
# ENTRYPOINT ["dotnet", "JiShe.IOT.HttpApi.Host.dll"]
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
FROM mcr.microsoft.com/dotnet/aspnet:9.0 AS base
|
FROM mcr.microsoft.com/dotnet/aspnet:9.0 AS base
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
EXPOSE 80
|
EXPOSE 8080
|
||||||
EXPOSE 443
|
EXPOSE 443
|
||||||
ENV TZ=Asia/Shanghai
|
ENV TZ=Asia/Shanghai
|
||||||
ENV ASPNETCORE_ENVIRONMENT=Production
|
ENV ASPNETCORE_ENVIRONMENT=Production
|
||||||
@ -32,15 +8,14 @@ ENV ASPNETCORE_ENVIRONMENT=Production
|
|||||||
FROM mcr.microsoft.com/dotnet/sdk:9.0 AS build
|
FROM mcr.microsoft.com/dotnet/sdk:9.0 AS build
|
||||||
WORKDIR /src
|
WORKDIR /src
|
||||||
COPY . .
|
COPY . .
|
||||||
WORKDIR "/src/host/JiShe.IOT.HttpApi.Host"
|
WORKDIR "/host/JiShe.ServicePro.HttpApi.Host"
|
||||||
RUN dotnet build "JiShe.IOT.HttpApi.Host.csproj" -c Release -o /app/build
|
RUN dotnet build "JiShe.ServicePro.HttpApi.Host.csproj" -c Release -o /app/build
|
||||||
|
|
||||||
FROM build AS publish
|
FROM build AS publish
|
||||||
RUN dotnet publish "JiShe.IOT.HttpApi.Host.csproj" -c Release -o /app/publish /p:UseAppHost=false
|
RUN dotnet publish "JiShe.ServicePro.HttpApi.Host.csproj" -c Release -o /app/publish /p:UseAppHost=false
|
||||||
|
|
||||||
FROM base AS final
|
FROM base AS final
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY --from=publish /app/publish .
|
COPY --from=publish /app/publish .
|
||||||
ENTRYPOINT ["dotnet", "JiShe.IOT.HttpApi.Host.dll"]
|
ENTRYPOINT ["dotnet", "JiShe.ServicePro.HttpApi.Host.dll"]
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -2,52 +2,55 @@ Microsoft Visual Studio Solution File, Format Version 12.00
|
|||||||
# Visual Studio Version 17
|
# Visual Studio Version 17
|
||||||
VisualStudioVersion = 17.0.31410.414
|
VisualStudioVersion = 17.0.31410.414
|
||||||
MinimumVisualStudioVersion = 10.0.40219.1
|
MinimumVisualStudioVersion = 10.0.40219.1
|
||||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "JiShe.IOT.Domain", "src\JiShe.IOT.Domain\JiShe.IOT.Domain.csproj", "{554AD327-6DBA-4F8F-96F8-81CE7A0C863F}"
|
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "JiShe.ServicePro.Domain", "src\JiShe.ServicePro.Domain\JiShe.ServicePro.Domain.csproj", "{554AD327-6DBA-4F8F-96F8-81CE7A0C863F}"
|
||||||
EndProject
|
EndProject
|
||||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "JiShe.IOT.Application", "src\JiShe.IOT.Application\JiShe.IOT.Application.csproj", "{1A94A50E-06DC-43C1-80B5-B662820EC3EB}"
|
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "JiShe.ServicePro.Application", "src\JiShe.ServicePro.Application\JiShe.ServicePro.Application.csproj", "{1A94A50E-06DC-43C1-80B5-B662820EC3EB}"
|
||||||
EndProject
|
EndProject
|
||||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "JiShe.IOT.EntityFrameworkCore", "src\JiShe.IOT.EntityFrameworkCore\JiShe.IOT.EntityFrameworkCore.csproj", "{C956DD76-69C8-4A9C-83EA-D17DF83340FD}"
|
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "JiShe.ServicePro.EntityFrameworkCore", "src\JiShe.ServicePro.EntityFrameworkCore\JiShe.ServicePro.EntityFrameworkCore.csproj", "{C956DD76-69C8-4A9C-83EA-D17DF83340FD}"
|
||||||
EndProject
|
EndProject
|
||||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{CA9AC87F-097E-4F15-8393-4BC07735A5B0}"
|
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{CA9AC87F-097E-4F15-8393-4BC07735A5B0}"
|
||||||
EndProject
|
EndProject
|
||||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "test", "test", "{04DBDB01-70F4-4E06-B468-8F87850B22BE}"
|
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "test", "test", "{04DBDB01-70F4-4E06-B468-8F87850B22BE}"
|
||||||
EndProject
|
EndProject
|
||||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "JiShe.IOT.Application.Tests", "test\JiShe.IOT.Application.Tests\JiShe.IOT.Application.Tests.csproj", "{50B2631D-129C-47B3-A587-029CCD6099BC}"
|
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "JiShe.ServicePro.Application.Tests", "test\JiShe.ServicePro.Application.Tests\JiShe.ServicePro.Application.Tests.csproj", "{50B2631D-129C-47B3-A587-029CCD6099BC}"
|
||||||
EndProject
|
EndProject
|
||||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "JiShe.IOT.Domain.Shared", "src\JiShe.IOT.Domain.Shared\JiShe.IOT.Domain.Shared.csproj", "{42F719ED-8413-4895-B5B4-5AB56079BC66}"
|
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "JiShe.ServicePro.Domain.Shared", "src\JiShe.ServicePro.Domain.Shared\JiShe.ServicePro.Domain.Shared.csproj", "{42F719ED-8413-4895-B5B4-5AB56079BC66}"
|
||||||
EndProject
|
EndProject
|
||||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "JiShe.IOT.Application.Contracts", "src\JiShe.IOT.Application.Contracts\JiShe.IOT.Application.Contracts.csproj", "{520659C8-C734-4298-A3DA-B539DB9DFC0B}"
|
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "JiShe.ServicePro.Application.Contracts", "src\JiShe.ServicePro.Application.Contracts\JiShe.ServicePro.Application.Contracts.csproj", "{520659C8-C734-4298-A3DA-B539DB9DFC0B}"
|
||||||
EndProject
|
EndProject
|
||||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "JiShe.IOT.HttpApi", "src\JiShe.IOT.HttpApi\JiShe.IOT.HttpApi.csproj", "{4164BDF7-F527-4E85-9CE6-E3C2D7426A27}"
|
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "JiShe.ServicePro.HttpApi", "src\JiShe.ServicePro.HttpApi\JiShe.ServicePro.HttpApi.csproj", "{4164BDF7-F527-4E85-9CE6-E3C2D7426A27}"
|
||||||
EndProject
|
EndProject
|
||||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "JiShe.IOT.HttpApi.Client", "src\JiShe.IOT.HttpApi.Client\JiShe.IOT.HttpApi.Client.csproj", "{3B5A0094-670D-4BB1-BFDD-61B88A8773DC}"
|
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "JiShe.ServicePro.HttpApi.Client", "src\JiShe.ServicePro.HttpApi.Client\JiShe.ServicePro.HttpApi.Client.csproj", "{3B5A0094-670D-4BB1-BFDD-61B88A8773DC}"
|
||||||
EndProject
|
EndProject
|
||||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "JiShe.IOT.EntityFrameworkCore.Tests", "test\JiShe.IOT.EntityFrameworkCore.Tests\JiShe.IOT.EntityFrameworkCore.Tests.csproj", "{1FE30EB9-74A9-47F5-A9F6-7B1FAB672D81}"
|
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "JiShe.ServicePro.EntityFrameworkCore.Tests", "test\JiShe.ServicePro.EntityFrameworkCore.Tests\JiShe.ServicePro.EntityFrameworkCore.Tests.csproj", "{1FE30EB9-74A9-47F5-A9F6-7B1FAB672D81}"
|
||||||
EndProject
|
EndProject
|
||||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "JiShe.IOT.TestBase", "test\JiShe.IOT.TestBase\JiShe.IOT.TestBase.csproj", "{91853F21-9CD9-4132-BC29-A7D5D84FFFE7}"
|
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "JiShe.ServicePro.TestBase", "test\JiShe.ServicePro.TestBase\JiShe.ServicePro.TestBase.csproj", "{91853F21-9CD9-4132-BC29-A7D5D84FFFE7}"
|
||||||
EndProject
|
EndProject
|
||||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "JiShe.IOT.Domain.Tests", "test\JiShe.IOT.Domain.Tests\JiShe.IOT.Domain.Tests.csproj", "{E512F4D9-9375-480F-A2F6-A46509F9D824}"
|
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "JiShe.ServicePro.Domain.Tests", "test\JiShe.ServicePro.Domain.Tests\JiShe.ServicePro.Domain.Tests.csproj", "{E512F4D9-9375-480F-A2F6-A46509F9D824}"
|
||||||
EndProject
|
EndProject
|
||||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "JiShe.IOT.HttpApi.Client.ConsoleTestApp", "test\JiShe.IOT.HttpApi.Client.ConsoleTestApp\JiShe.IOT.HttpApi.Client.ConsoleTestApp.csproj", "{EF480016-9127-4916-8735-D2466BDBC582}"
|
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "JiShe.ServicePro.HttpApi.Client.ConsoleTestApp", "test\JiShe.ServicePro.HttpApi.Client.ConsoleTestApp\JiShe.ServicePro.HttpApi.Client.ConsoleTestApp.csproj", "{EF480016-9127-4916-8735-D2466BDBC582}"
|
||||||
EndProject
|
EndProject
|
||||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "JiShe.IOT.DbMigrator", "src\JiShe.IOT.DbMigrator\JiShe.IOT.DbMigrator.csproj", "{AA94D832-1CCC-4715-95A9-A483F23A1A5D}"
|
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "JiShe.ServicePro.DbMigrator", "src\JiShe.ServicePro.DbMigrator\JiShe.ServicePro.DbMigrator.csproj", "{AA94D832-1CCC-4715-95A9-A483F23A1A5D}"
|
||||||
EndProject
|
EndProject
|
||||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "0.Solution Items", "0.Solution Items", "{2C4A6DB8-8D9E-42E6-B7C3-1EDB7B3DE22E}"
|
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "0.Solution Items", "0.Solution Items", "{2C4A6DB8-8D9E-42E6-B7C3-1EDB7B3DE22E}"
|
||||||
ProjectSection(SolutionItems) = preProject
|
ProjectSection(SolutionItems) = preProject
|
||||||
NuGet.Config = NuGet.Config
|
|
||||||
Directory.Build.Microsoft.targets = Directory.Build.Microsoft.targets
|
Directory.Build.Microsoft.targets = Directory.Build.Microsoft.targets
|
||||||
|
Directory.Build.JiShe.targets = Directory.Build.JiShe.targets
|
||||||
Directory.Build.targets = Directory.Build.targets
|
Directory.Build.targets = Directory.Build.targets
|
||||||
Directory.Build.Volo.targets = Directory.Build.Volo.targets
|
Directory.Build.Volo.targets = Directory.Build.Volo.targets
|
||||||
Directory.Build.Lion.targets = Directory.Build.Lion.targets
|
Dockerfile = Dockerfile
|
||||||
|
NuGet.Config = NuGet.Config
|
||||||
EndProjectSection
|
EndProjectSection
|
||||||
EndProject
|
EndProject
|
||||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "host", "host", "{8C1B8C6C-C518-4290-B070-622CCA6004DA}"
|
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "host", "host", "{8C1B8C6C-C518-4290-B070-622CCA6004DA}"
|
||||||
EndProject
|
EndProject
|
||||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "JiShe.IOT.HttpApi.Host", "host\JiShe.IOT.HttpApi.Host\JiShe.IOT.HttpApi.Host.csproj", "{FB20372D-6C96-4733-9AAC-12522F15CAA6}"
|
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "JiShe.ServicePro.HttpApi.Host", "host\JiShe.ServicePro.HttpApi.Host\JiShe.ServicePro.HttpApi.Host.csproj", "{FB20372D-6C96-4733-9AAC-12522F15CAA6}"
|
||||||
EndProject
|
EndProject
|
||||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "JiShe.IOT.FreeSqlRepository", "src\JiShe.IOT.FreeSqlRepository\JiShe.IOT.FreeSqlRepository.csproj", "{27C7A0E6-4C2E-4AFF-9DE7-1F526DDC0D18}"
|
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "JiShe.ServicePro.FreeSqlRepository", "src\JiShe.ServicePro.FreeSqlRepository\JiShe.ServicePro.FreeSqlRepository.csproj", "{27C7A0E6-4C2E-4AFF-9DE7-1F526DDC0D18}"
|
||||||
EndProject
|
EndProject
|
||||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "JiShe.IOT.WebGateway", "host\JiShe.IOT.WebGateway\JiShe.IOT.WebGateway.csproj", "{9C009501-0ED2-4930-B020-C8D06FE28E44}"
|
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "gateways", "gateways", "{81A8FF2E-DE2E-479D-A209-EDA81C2AF08A}"
|
||||||
|
EndProject
|
||||||
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "JiShe.ServicePro.WebGateway", "gateways\JiShe.ServicePro.WebGateway\JiShe.ServicePro.WebGateway.csproj", "{F1D46EE1-13D5-4227-80DC-066DEB0E4FD1}"
|
||||||
EndProject
|
EndProject
|
||||||
Global
|
Global
|
||||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
@ -115,10 +118,10 @@ Global
|
|||||||
{27C7A0E6-4C2E-4AFF-9DE7-1F526DDC0D18}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
{27C7A0E6-4C2E-4AFF-9DE7-1F526DDC0D18}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
{27C7A0E6-4C2E-4AFF-9DE7-1F526DDC0D18}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
{27C7A0E6-4C2E-4AFF-9DE7-1F526DDC0D18}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
{27C7A0E6-4C2E-4AFF-9DE7-1F526DDC0D18}.Release|Any CPU.Build.0 = Release|Any CPU
|
{27C7A0E6-4C2E-4AFF-9DE7-1F526DDC0D18}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
{9C009501-0ED2-4930-B020-C8D06FE28E44}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
{F1D46EE1-13D5-4227-80DC-066DEB0E4FD1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
{9C009501-0ED2-4930-B020-C8D06FE28E44}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
{F1D46EE1-13D5-4227-80DC-066DEB0E4FD1}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
{9C009501-0ED2-4930-B020-C8D06FE28E44}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
{F1D46EE1-13D5-4227-80DC-066DEB0E4FD1}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
{9C009501-0ED2-4930-B020-C8D06FE28E44}.Release|Any CPU.Build.0 = Release|Any CPU
|
{F1D46EE1-13D5-4227-80DC-066DEB0E4FD1}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
EndGlobalSection
|
EndGlobalSection
|
||||||
GlobalSection(SolutionProperties) = preSolution
|
GlobalSection(SolutionProperties) = preSolution
|
||||||
HideSolutionNode = FALSE
|
HideSolutionNode = FALSE
|
||||||
@ -139,7 +142,7 @@ Global
|
|||||||
{AA94D832-1CCC-4715-95A9-A483F23A1A5D} = {CA9AC87F-097E-4F15-8393-4BC07735A5B0}
|
{AA94D832-1CCC-4715-95A9-A483F23A1A5D} = {CA9AC87F-097E-4F15-8393-4BC07735A5B0}
|
||||||
{FB20372D-6C96-4733-9AAC-12522F15CAA6} = {8C1B8C6C-C518-4290-B070-622CCA6004DA}
|
{FB20372D-6C96-4733-9AAC-12522F15CAA6} = {8C1B8C6C-C518-4290-B070-622CCA6004DA}
|
||||||
{27C7A0E6-4C2E-4AFF-9DE7-1F526DDC0D18} = {CA9AC87F-097E-4F15-8393-4BC07735A5B0}
|
{27C7A0E6-4C2E-4AFF-9DE7-1F526DDC0D18} = {CA9AC87F-097E-4F15-8393-4BC07735A5B0}
|
||||||
{9C009501-0ED2-4930-B020-C8D06FE28E44} = {8C1B8C6C-C518-4290-B070-622CCA6004DA}
|
{F1D46EE1-13D5-4227-80DC-066DEB0E4FD1} = {81A8FF2E-DE2E-479D-A209-EDA81C2AF08A}
|
||||||
EndGlobalSection
|
EndGlobalSection
|
||||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||||
SolutionGuid = {28315BFD-90E7-4E14-A2EA-F3D23AF4126F}
|
SolutionGuid = {28315BFD-90E7-4E14-A2EA-F3D23AF4126F}
|
||||||
@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
<configuration>
|
<configuration>
|
||||||
<packageSources>
|
<packageSources>
|
||||||
|
<add key="localnuget" value="D:\CodeBase\DiyPackage" />
|
||||||
<add key="nuget" value="https://api.nuget.org/v3/index.json" />
|
<add key="nuget" value="https://api.nuget.org/v3/index.json" />
|
||||||
</packageSources>
|
</packageSources>
|
||||||
</configuration>
|
</configuration>
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
namespace Lion.AbpPro.WebGateway
|
namespace JiShe.ServicePro.WebGateway
|
||||||
{
|
{
|
||||||
[DependsOn(
|
[DependsOn(
|
||||||
typeof(AbpProSharedHostingGatewayModule))]
|
typeof(ServiceProSharedHostingGatewayModule))]
|
||||||
public class AbpProWebGatewayModule : AbpModule
|
public class AbpProWebGatewayModule : AbpModule
|
||||||
{
|
{
|
||||||
private const string DefaultCorsPolicyName = "Default";
|
private const string DefaultCorsPolicyName = "Default";
|
||||||
@ -17,6 +17,6 @@ ENV TZ=Asia/Shanghai
|
|||||||
# 设置环境变量
|
# 设置环境变量
|
||||||
ENV ASPNETCORE_ENVIRONMENT=Production
|
ENV ASPNETCORE_ENVIRONMENT=Production
|
||||||
|
|
||||||
ENTRYPOINT ["dotnet", "JiShe.IOT.WebGateway.dll"]
|
ENTRYPOINT ["dotnet", "JiShe.ServicePro.WebGateway.dll"]
|
||||||
|
|
||||||
|
|
||||||
@ -4,7 +4,7 @@ global using System;
|
|||||||
global using System.Collections.Generic;
|
global using System.Collections.Generic;
|
||||||
global using System.Linq;
|
global using System.Linq;
|
||||||
global using System.Threading.Tasks;
|
global using System.Threading.Tasks;
|
||||||
global using Lion.AbpPro;
|
global using JiShe.ServicePro;
|
||||||
global using Microsoft.AspNetCore.Builder;
|
global using Microsoft.AspNetCore.Builder;
|
||||||
global using Microsoft.AspNetCore.Cors;
|
global using Microsoft.AspNetCore.Cors;
|
||||||
global using Microsoft.AspNetCore.Hosting;
|
global using Microsoft.AspNetCore.Hosting;
|
||||||
@ -5,6 +5,6 @@
|
|||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="Lion.AbpPro.Shared.Hosting.Gateways"/>
|
<PackageReference Include="JiShe.ServicePro.Shared.Hosting.Gateways"/>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
</Project>
|
</Project>
|
||||||
@ -1,4 +1,4 @@
|
|||||||
namespace Lion.AbpPro.WebGateway
|
namespace JiShe.ServicePro.WebGateway
|
||||||
{
|
{
|
||||||
public class Program
|
public class Program
|
||||||
{
|
{
|
||||||
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"$schema": "http://json.schemastore.org/launchsettings.json",
|
"$schema": "http://json.schemastore.org/launchsettings.json",
|
||||||
"profiles": {
|
"profiles": {
|
||||||
"JiShe.IOT.WebGateway": {
|
"JiShe.ServicePro.WebGateway": {
|
||||||
"commandName": "Project",
|
"commandName": "Project",
|
||||||
"launchBrowser": false,
|
"launchBrowser": false,
|
||||||
"launchUrl": "swagger",
|
"launchUrl": "swagger",
|
||||||
@ -17,7 +17,7 @@
|
|||||||
{
|
{
|
||||||
"DownstreamPathTemplate": "/{url}",
|
"DownstreamPathTemplate": "/{url}",
|
||||||
"DownstreamScheme": "http",
|
"DownstreamScheme": "http",
|
||||||
"ServiceName": "IOT-Service",
|
"ServiceName": "ServicePro-Service",
|
||||||
"LoadBalancerOptions": {
|
"LoadBalancerOptions": {
|
||||||
"Type": "LeastConnection"
|
"Type": "LeastConnection"
|
||||||
},
|
},
|
||||||
@ -32,7 +32,7 @@
|
|||||||
{
|
{
|
||||||
"DownstreamPathTemplate": "/{url}",
|
"DownstreamPathTemplate": "/{url}",
|
||||||
"DownstreamScheme": "ws",
|
"DownstreamScheme": "ws",
|
||||||
"ServiceName": "IOT-Service",
|
"ServiceName": "ServicePro-Service",
|
||||||
"LoadBalancerOptions": {
|
"LoadBalancerOptions": {
|
||||||
"Type": "LeastConnection"
|
"Type": "LeastConnection"
|
||||||
},
|
},
|
||||||
@ -1,290 +0,0 @@
|
|||||||
namespace JiShe.IOT
|
|
||||||
{
|
|
||||||
[DependsOn(
|
|
||||||
typeof(IOTHttpApiModule),
|
|
||||||
typeof(AbpProSharedHostingMicroserviceModule),
|
|
||||||
typeof(AbpAspNetCoreMvcUiMultiTenancyModule),
|
|
||||||
typeof(IOTEntityFrameworkCoreModule),
|
|
||||||
typeof(AbpAspNetCoreAuthenticationJwtBearerModule),
|
|
||||||
typeof(AbpAspNetCoreSerilogModule),
|
|
||||||
typeof(AbpAccountWebModule),
|
|
||||||
typeof(IOTApplicationModule),
|
|
||||||
typeof(AbpAspNetCoreMvcUiBasicThemeModule),
|
|
||||||
typeof(AbpCachingStackExchangeRedisModule)
|
|
||||||
)]
|
|
||||||
public class IOTHttpApiHostModule : AbpModule
|
|
||||||
{
|
|
||||||
public override void ConfigureServices(ServiceConfigurationContext context)
|
|
||||||
{
|
|
||||||
var configuration = context.Services.GetConfiguration();
|
|
||||||
ConfigureCache(context);
|
|
||||||
ConfigureSwaggerServices(context);
|
|
||||||
ConfigureJwtAuthentication(context, configuration);
|
|
||||||
ConfigureMiniProfiler(context);
|
|
||||||
ConfigureIdentity(context);
|
|
||||||
ConfigureAuditLog(context);
|
|
||||||
ConfigurationSignalR(context);
|
|
||||||
ConfigurationMultiTenancy();
|
|
||||||
}
|
|
||||||
|
|
||||||
public override void OnApplicationInitialization(ApplicationInitializationContext context)
|
|
||||||
{
|
|
||||||
var app = context.GetApplicationBuilder();
|
|
||||||
var configuration = context.GetConfiguration();
|
|
||||||
|
|
||||||
app.UseAbpProRequestLocalization();
|
|
||||||
app.UseCorrelationId();
|
|
||||||
app.UseStaticFiles();
|
|
||||||
app.UseMiniProfiler();
|
|
||||||
app.UseRouting();
|
|
||||||
app.UseCors(IOTHttpApiHostConst.DefaultCorsPolicyName);
|
|
||||||
app.UseAuthentication();
|
|
||||||
|
|
||||||
if (MultiTenancyConsts.IsEnabled)
|
|
||||||
{
|
|
||||||
app.UseMultiTenancy();
|
|
||||||
}
|
|
||||||
|
|
||||||
app.UseAuthorization();
|
|
||||||
app.UseSwagger();
|
|
||||||
app.UseAbpSwaggerUI(options =>
|
|
||||||
{
|
|
||||||
options.SwaggerEndpoint("/swagger/IOT/swagger.json", "IOT API");
|
|
||||||
options.DocExpansion(DocExpansion.None);
|
|
||||||
options.DefaultModelsExpandDepth(-1);
|
|
||||||
});
|
|
||||||
|
|
||||||
app.UseAuditing();
|
|
||||||
app.UseAbpSerilogEnrichers();
|
|
||||||
|
|
||||||
app.UseUnitOfWork();
|
|
||||||
app.UseConfiguredEndpoints(endpoints =>
|
|
||||||
{
|
|
||||||
endpoints.MapHealthChecks("/health");
|
|
||||||
|
|
||||||
// endpoints.MapHangfireDashboard("/hangfire", new DashboardOptions()
|
|
||||||
// {
|
|
||||||
// Authorization = new[] { new CustomHangfireAuthorizeFilter() },
|
|
||||||
// IgnoreAntiforgeryToken = true
|
|
||||||
// });
|
|
||||||
|
|
||||||
});
|
|
||||||
|
|
||||||
|
|
||||||
if (configuration.GetValue("Consul:Enabled", false))
|
|
||||||
{
|
|
||||||
app.UseConsul();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private void ConfigurationSignalR(ServiceConfigurationContext context)
|
|
||||||
{
|
|
||||||
var redisConnection = context.Services.GetConfiguration().GetValue<string>("Redis:Configuration");
|
|
||||||
|
|
||||||
if (redisConnection.IsNullOrWhiteSpace())
|
|
||||||
{
|
|
||||||
throw new UserFriendlyException(message: "Redis连接字符串未配置.");
|
|
||||||
}
|
|
||||||
|
|
||||||
context.Services.AddSignalR().AddStackExchangeRedis(redisConnection, options => { options.Configuration.ChannelPrefix = "Lion.AbpPro"; });
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 配置MiniProfiler
|
|
||||||
/// </summary>
|
|
||||||
private void ConfigureMiniProfiler(ServiceConfigurationContext context)
|
|
||||||
{
|
|
||||||
context.Services.AddMiniProfiler(options => options.RouteBasePath = "/profiler").AddEntityFramework();
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 配置JWT
|
|
||||||
/// </summary>
|
|
||||||
private void ConfigureJwtAuthentication(ServiceConfigurationContext context,
|
|
||||||
IConfiguration configuration)
|
|
||||||
{
|
|
||||||
context.Services.AddAuthentication(options =>
|
|
||||||
{
|
|
||||||
options.DefaultAuthenticateScheme = JwtBearerDefaults.AuthenticationScheme;
|
|
||||||
options.DefaultChallengeScheme = JwtBearerDefaults.AuthenticationScheme;
|
|
||||||
})
|
|
||||||
.AddJwtBearer(options =>
|
|
||||||
{
|
|
||||||
options.TokenValidationParameters =
|
|
||||||
new TokenValidationParameters()
|
|
||||||
{
|
|
||||||
// 是否开启签名认证
|
|
||||||
ValidateIssuerSigningKey = true,
|
|
||||||
ValidateIssuer = true,
|
|
||||||
ValidateAudience = true,
|
|
||||||
ValidateLifetime = true,
|
|
||||||
//ClockSkew = TimeSpan.Zero,
|
|
||||||
ValidIssuer = configuration["Jwt:Issuer"],
|
|
||||||
ValidAudience = configuration["Jwt:Audience"],
|
|
||||||
IssuerSigningKey =
|
|
||||||
new SymmetricSecurityKey(
|
|
||||||
Encoding.ASCII.GetBytes(configuration["Jwt:SecurityKey"]))
|
|
||||||
};
|
|
||||||
|
|
||||||
options.Events = new JwtBearerEvents
|
|
||||||
{
|
|
||||||
OnMessageReceived = currentContext =>
|
|
||||||
{
|
|
||||||
var path = currentContext.HttpContext.Request.Path;
|
|
||||||
if (path.StartsWithSegments("/login"))
|
|
||||||
{
|
|
||||||
return Task.CompletedTask;
|
|
||||||
}
|
|
||||||
|
|
||||||
var accessToken = string.Empty;
|
|
||||||
if (currentContext.HttpContext.Request.Headers.ContainsKey("Authorization"))
|
|
||||||
{
|
|
||||||
accessToken = currentContext.HttpContext.Request.Headers["Authorization"];
|
|
||||||
if (!string.IsNullOrWhiteSpace(accessToken))
|
|
||||||
{
|
|
||||||
accessToken = accessToken.Split(" ").LastOrDefault();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
if (accessToken.IsNullOrWhiteSpace())
|
|
||||||
{
|
|
||||||
accessToken = currentContext.Request.Query["access_token"].FirstOrDefault();
|
|
||||||
}
|
|
||||||
|
|
||||||
if (accessToken.IsNullOrWhiteSpace())
|
|
||||||
{
|
|
||||||
accessToken = currentContext.Request.Cookies[IOTHttpApiHostConst.DefaultCookieName];
|
|
||||||
}
|
|
||||||
|
|
||||||
currentContext.Token = accessToken;
|
|
||||||
currentContext.Request.Headers.Remove("Authorization");
|
|
||||||
currentContext.Request.Headers.Add("Authorization", $"Bearer {accessToken}");
|
|
||||||
|
|
||||||
return Task.CompletedTask;
|
|
||||||
}
|
|
||||||
};
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Redis缓存
|
|
||||||
/// </summary>
|
|
||||||
private void ConfigureCache(ServiceConfigurationContext context)
|
|
||||||
{
|
|
||||||
Configure<AbpDistributedCacheOptions>(
|
|
||||||
options => { options.KeyPrefix = "IOT:"; });
|
|
||||||
var configuration = context.Services.GetConfiguration();
|
|
||||||
var redis = ConnectionMultiplexer.Connect(configuration["Redis:Configuration"]);
|
|
||||||
context.Services
|
|
||||||
.AddDataProtection()
|
|
||||||
.PersistKeysToStackExchangeRedis(redis, "IOT-Protection-Keys");
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 配置Identity
|
|
||||||
/// </summary>
|
|
||||||
private void ConfigureIdentity(ServiceConfigurationContext context)
|
|
||||||
{
|
|
||||||
context.Services.Configure<IdentityOptions>(options => { options.Lockout = new LockoutOptions() { AllowedForNewUsers = false }; });
|
|
||||||
}
|
|
||||||
|
|
||||||
private static void ConfigureSwaggerServices(ServiceConfigurationContext context)
|
|
||||||
{
|
|
||||||
context.Services.AddSwaggerGen(
|
|
||||||
options =>
|
|
||||||
{
|
|
||||||
// 文件下载类型
|
|
||||||
options.MapType<FileContentResult>(() => new OpenApiSchema() { Type = "file" });
|
|
||||||
|
|
||||||
options.SwaggerDoc("IOT",
|
|
||||||
new OpenApiInfo { Title = "JiSheIOT API", Version = "v1" });
|
|
||||||
options.DocInclusionPredicate((docName, description) => true);
|
|
||||||
options.EnableAnnotations(); // 启用注解
|
|
||||||
options.DocumentFilter<HiddenAbpDefaultApiFilter>();
|
|
||||||
options.SchemaFilter<EnumSchemaFilter>();
|
|
||||||
// 加载所有xml注释,这里会导致swagger加载有点缓慢
|
|
||||||
var xmlPaths = Directory.GetFiles(AppContext.BaseDirectory, "*.xml");
|
|
||||||
foreach (var xml in xmlPaths)
|
|
||||||
{
|
|
||||||
options.IncludeXmlComments(xml, true);
|
|
||||||
}
|
|
||||||
|
|
||||||
options.AddSecurityDefinition(JwtBearerDefaults.AuthenticationScheme,
|
|
||||||
new OpenApiSecurityScheme()
|
|
||||||
{
|
|
||||||
Description = "直接在下框输入JWT生成的Token",
|
|
||||||
Name = "Authorization",
|
|
||||||
In = ParameterLocation.Header,
|
|
||||||
Type = SecuritySchemeType.Http,
|
|
||||||
Scheme = JwtBearerDefaults.AuthenticationScheme,
|
|
||||||
BearerFormat = "JWT"
|
|
||||||
});
|
|
||||||
options.AddSecurityRequirement(new OpenApiSecurityRequirement
|
|
||||||
{
|
|
||||||
{
|
|
||||||
new OpenApiSecurityScheme
|
|
||||||
{
|
|
||||||
Reference = new OpenApiReference
|
|
||||||
{
|
|
||||||
Type = ReferenceType.SecurityScheme, Id = "Bearer"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
new List<string>()
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
options.AddSecurityDefinition("ApiKey", new OpenApiSecurityScheme()
|
|
||||||
{
|
|
||||||
Type = SecuritySchemeType.ApiKey,
|
|
||||||
In = ParameterLocation.Header,
|
|
||||||
Name = "Accept-Language",
|
|
||||||
Description = "多语言设置,系统预设语言有zh-Hans、en,默认为zh-Hans",
|
|
||||||
});
|
|
||||||
|
|
||||||
options.AddSecurityRequirement(new OpenApiSecurityRequirement
|
|
||||||
{
|
|
||||||
{
|
|
||||||
new OpenApiSecurityScheme
|
|
||||||
{
|
|
||||||
Reference = new OpenApiReference
|
|
||||||
{ Type = ReferenceType.SecurityScheme, Id = "ApiKey" }
|
|
||||||
},
|
|
||||||
Array.Empty<string>()
|
|
||||||
}
|
|
||||||
});
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 审计日志
|
|
||||||
/// </summary>
|
|
||||||
private void ConfigureAuditLog(ServiceConfigurationContext context)
|
|
||||||
{
|
|
||||||
Configure<AbpAuditingOptions>
|
|
||||||
(
|
|
||||||
options =>
|
|
||||||
{
|
|
||||||
options.IsEnabled = true;
|
|
||||||
options.EntityHistorySelectors.AddAllEntities();
|
|
||||||
options.ApplicationName = "JiShe.IOT";
|
|
||||||
}
|
|
||||||
);
|
|
||||||
|
|
||||||
Configure<AbpAspNetCoreAuditingOptions>(
|
|
||||||
options =>
|
|
||||||
{
|
|
||||||
options.IgnoredUrls.Add("/AuditLogs/page");
|
|
||||||
options.IgnoredUrls.Add("/hangfire/stats");
|
|
||||||
options.IgnoredUrls.Add("/cap");
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
private void ConfigurationMultiTenancy()
|
|
||||||
{
|
|
||||||
Configure<AbpMultiTenancyOptions>(options => { options.IsEnabled = MultiTenancyConsts.IsEnabled; });
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@ -1,65 +0,0 @@
|
|||||||
<Project Sdk="Microsoft.NET.Sdk.Web">
|
|
||||||
|
|
||||||
|
|
||||||
<PropertyGroup>
|
|
||||||
<TargetFramework>net9.0</TargetFramework>
|
|
||||||
<RootNamespace>JiShe.IOT</RootNamespace>
|
|
||||||
<PreserveCompilationReferences>true</PreserveCompilationReferences>
|
|
||||||
<UserSecretsId>JiShe.IOT-4681b4fd-151f-4221-84a4-929d86723e4c</UserSecretsId>
|
|
||||||
</PropertyGroup>
|
|
||||||
|
|
||||||
<ItemGroup>
|
|
||||||
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer"/>
|
|
||||||
<PackageReference Include="Microsoft.AspNetCore.DataProtection.StackExchangeRedis"/>
|
|
||||||
<PackageReference Include="Volo.Abp.Account.Web"/>
|
|
||||||
<PackageReference Include="Volo.Abp.AspNetCore.Mvc.UI.MultiTenancy"/>
|
|
||||||
<PackageReference Include="Volo.Abp.Autofac"/>
|
|
||||||
<PackageReference Include="Volo.Abp.Caching.StackExchangeRedis"/>
|
|
||||||
<PackageReference Include="Volo.Abp.AspNetCore.Serilog"/>
|
|
||||||
<PackageReference Include="Volo.Abp.Swashbuckle"/>
|
|
||||||
<PackageReference Include="Volo.Abp.AspNetCore.Authentication.JwtBearer"/>
|
|
||||||
<PackageReference Include="Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic"/>
|
|
||||||
<PackageReference Include="Serilog"/>
|
|
||||||
<PackageReference Include="Serilog.AspNetCore"/>
|
|
||||||
<PackageReference Include="Serilog.Exceptions"/>
|
|
||||||
<PackageReference Include="Serilog.Extensions.Logging"/>
|
|
||||||
<PackageReference Include="Serilog.Settings.Configuration"/>
|
|
||||||
<PackageReference Include="Serilog.Sinks.Console"/>
|
|
||||||
<PackageReference Include="Serilog.Sinks.Elasticsearch"/>
|
|
||||||
<PackageReference Include="Serilog.Sinks.File"/>
|
|
||||||
<PackageReference Include="Serilog.Sinks.Async"/>
|
|
||||||
<PackageReference Include="Hangfire.Redis.StackExchange"/>
|
|
||||||
<PackageReference Include="Microsoft.Extensions.Diagnostics.HealthChecks"/>
|
|
||||||
<PackageReference Include="MiniProfiler.AspNetCore.Mvc"/>
|
|
||||||
<PackageReference Include="DotNetCore.CAP.MySql"/>
|
|
||||||
<PackageReference Include="DotNetCore.CAP.RabbitMQ"/>
|
|
||||||
<PackageReference Include="DotNetCore.CAP.Dashboard"/>
|
|
||||||
<PackageReference Include="DotNetCore.CAP.InMemoryStorage"/>
|
|
||||||
<PackageReference Include="Savorboard.CAP.InMemoryMessageQueue"/>
|
|
||||||
<PackageReference Include="MiniProfiler.AspNetCore.Mvc"/>
|
|
||||||
<PackageReference Include="MiniProfiler.EntityFrameworkCore"/>
|
|
||||||
<PackageReference Include="MiniProfiler.Shared"/>
|
|
||||||
</ItemGroup>
|
|
||||||
|
|
||||||
<ItemGroup>
|
|
||||||
<ProjectReference Include="..\..\src\JiShe.IOT.Application\JiShe.IOT.Application.csproj"/>
|
|
||||||
<ProjectReference Include="..\..\src\JiShe.IOT.EntityFrameworkCore\JiShe.IOT.EntityFrameworkCore.csproj"/>
|
|
||||||
<ProjectReference Include="..\..\src\JiShe.IOT.HttpApi\JiShe.IOT.HttpApi.csproj"/>
|
|
||||||
</ItemGroup>
|
|
||||||
|
|
||||||
<ItemGroup>
|
|
||||||
<PackageReference Include="Lion.AbpPro.Shared.Hosting.Microservices"/>
|
|
||||||
</ItemGroup>
|
|
||||||
|
|
||||||
<ItemGroup>
|
|
||||||
<Compile Remove="Logs\**"/>
|
|
||||||
<Content Remove="Logs\**"/>
|
|
||||||
<EmbeddedResource Remove="Logs\**"/>
|
|
||||||
<None Remove="Logs\**"/>
|
|
||||||
</ItemGroup>
|
|
||||||
|
|
||||||
<ItemGroup>
|
|
||||||
<Content Remove="$(UserProfile)\.nuget\packages\*\*\contentFiles\any\*\*.abppkg*.json"/>
|
|
||||||
</ItemGroup>
|
|
||||||
|
|
||||||
</Project>
|
|
||||||
@ -1,25 +0,0 @@
|
|||||||
namespace JiShe.IOT
|
|
||||||
{
|
|
||||||
public class Program
|
|
||||||
{
|
|
||||||
public static void Main(string[] args)
|
|
||||||
{
|
|
||||||
CreateHostBuilder(args).Build().Run();
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
private static IHostBuilder CreateHostBuilder(string[] args) =>
|
|
||||||
Host.CreateDefaultBuilder(args)
|
|
||||||
.ConfigureWebHostDefaults(webBuilder =>
|
|
||||||
{
|
|
||||||
webBuilder.ConfigureKestrel((context, options) => { options.Limits.MaxRequestBodySize = 1024 * 50; });
|
|
||||||
webBuilder.UseStartup<Startup>();
|
|
||||||
})
|
|
||||||
.UseSerilog((context, loggerConfiguration) =>
|
|
||||||
{
|
|
||||||
SerilogToEsExtensions.SetSerilogConfiguration(
|
|
||||||
loggerConfiguration,
|
|
||||||
context.Configuration);
|
|
||||||
}).UseAutofac();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@ -1,16 +0,0 @@
|
|||||||
namespace JiShe.IOT
|
|
||||||
{
|
|
||||||
public class Startup
|
|
||||||
{
|
|
||||||
public void ConfigureServices(IServiceCollection services)
|
|
||||||
{
|
|
||||||
services.AddApplication<IOTHttpApiHostModule>();
|
|
||||||
}
|
|
||||||
|
|
||||||
public void Configure(IApplicationBuilder app, IWebHostEnvironment env, ILoggerFactory loggerFactory)
|
|
||||||
{
|
|
||||||
app.InitializeApplication();
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@ -1,3 +0,0 @@
|
|||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
@ -1,61 +0,0 @@
|
|||||||
{
|
|
||||||
"Serilog": {
|
|
||||||
"Using": [
|
|
||||||
"Serilog.Sinks.Console",
|
|
||||||
"Serilog.Sinks.File"
|
|
||||||
],
|
|
||||||
"MinimumLevel": {
|
|
||||||
"Default": "Debug",
|
|
||||||
"Override": {
|
|
||||||
"Microsoft": "Information",
|
|
||||||
"Volo.Abp": "Information",
|
|
||||||
"Hangfire": "Information",
|
|
||||||
"DotNetCore.CAP": "Information",
|
|
||||||
"Serilog.AspNetCore": "Information",
|
|
||||||
"Microsoft.EntityFrameworkCore": "Warning",
|
|
||||||
"Microsoft.AspNetCore": "Information"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"WriteTo": [
|
|
||||||
{
|
|
||||||
"Name": "Console"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"Name": "File",
|
|
||||||
"Args": {
|
|
||||||
"path": "logs/logs-.txt",
|
|
||||||
"rollingInterval": "Day"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"App": {
|
|
||||||
"SelfUrl": "http://localhost:44315",
|
|
||||||
"CorsOrigins": "https://*.IOT.com,http://localhost:4200,http://localhost:3100,http://118.190.144.92:9111"
|
|
||||||
},
|
|
||||||
"ConnectionStrings": {
|
|
||||||
"Default": "Data Source=118.190.144.92;Port=33306;Database=JiSheIOTDB;uid=root;pwd=admin123;charset=utf8mb4;Allow User Variables=true;AllowLoadLocalInfile=true"
|
|
||||||
},
|
|
||||||
"Redis": {
|
|
||||||
"Configuration": "118.190.144.92:6379,defaultdatabase=14"
|
|
||||||
},
|
|
||||||
"Jwt": {
|
|
||||||
"Audience": "JiShe.IOT",
|
|
||||||
"SecurityKey": "dzehzRz9a8asdfasfdadfasdfasdfafsdadfasbasdf=",
|
|
||||||
"Issuer": "JiShe.IOT",
|
|
||||||
"ExpirationTime": 2
|
|
||||||
},
|
|
||||||
"ElasticSearch": {
|
|
||||||
"Enabled": "false",
|
|
||||||
"Url": "http://es.cn",
|
|
||||||
"IndexFormat": "JiShe.IOT.development.{0:yyyy.MM.dd}",
|
|
||||||
"UserName": "elastic",
|
|
||||||
"Password": "aVVhjQ95RP7nbwNy",
|
|
||||||
"SearchIndexFormat": "JiShe.IOT.development*"
|
|
||||||
},
|
|
||||||
"Consul": {
|
|
||||||
"Enabled": false,
|
|
||||||
"Host": "http://localhost:8500",
|
|
||||||
"Service": "Project-Service"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@ -1,4 +1,4 @@
|
|||||||
namespace JiShe.IOT.Controllers
|
namespace JiShe.ServicePro.Controllers
|
||||||
{
|
{
|
||||||
public class HomeController : AbpController
|
public class HomeController : AbpController
|
||||||
{
|
{
|
||||||
@ -1,4 +1,4 @@
|
|||||||
namespace JiShe.IOT.Extensions.Hangfire;
|
namespace JiShe.ServicePro.Extensions.Hangfire;
|
||||||
|
|
||||||
public class AutoDeleteAfterSuccessAttributer : JobFilterAttribute, IApplyStateFilter
|
public class AutoDeleteAfterSuccessAttributer : JobFilterAttribute, IApplyStateFilter
|
||||||
{
|
{
|
||||||
@ -1,4 +1,4 @@
|
|||||||
namespace JiShe.IOT.Extensions.Hangfire
|
namespace JiShe.ServicePro.Extensions.Hangfire
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Cron类型
|
/// Cron类型
|
||||||
@ -1,4 +1,4 @@
|
|||||||
namespace JiShe.IOT.Extensions.Hangfire
|
namespace JiShe.ServicePro.Extensions.Hangfire
|
||||||
{
|
{
|
||||||
public class CustomHangfireAuthorizeFilter : IDashboardAuthorizationFilter
|
public class CustomHangfireAuthorizeFilter : IDashboardAuthorizationFilter
|
||||||
{
|
{
|
||||||
@ -1,4 +1,4 @@
|
|||||||
namespace JiShe.IOT.Extensions.Hangfire;
|
namespace JiShe.ServicePro.Extensions.Hangfire;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 重试最后一次
|
/// 重试最后一次
|
||||||
@ -1,6 +1,6 @@
|
|||||||
using JiShe.IOT.Jobs;
|
using JiShe.ServicePro.Jobs;
|
||||||
|
|
||||||
namespace JiShe.IOT.Extensions.Hangfire
|
namespace JiShe.ServicePro.Extensions.Hangfire
|
||||||
{
|
{
|
||||||
public static class RecurringJobsExtensions
|
public static class RecurringJobsExtensions
|
||||||
{
|
{
|
||||||
@ -12,11 +12,13 @@ global using Hangfire.Common;
|
|||||||
global using Hangfire.Dashboard;
|
global using Hangfire.Dashboard;
|
||||||
global using Hangfire.States;
|
global using Hangfire.States;
|
||||||
global using Hangfire.Storage;
|
global using Hangfire.Storage;
|
||||||
global using Lion.AbpPro;
|
global using JiShe.ServicePro;
|
||||||
global using JiShe.IOT.EntityFrameworkCore;
|
global using JiShe.ServicePro.CAP;
|
||||||
global using JiShe.IOT.Extensions;
|
global using JiShe.ServicePro.CAP.EntityFrameworkCore;
|
||||||
global using JiShe.IOT.Extensions.Hangfire;
|
global using JiShe.ServicePro.EntityFrameworkCore;
|
||||||
global using JiShe.IOT.MultiTenancy;
|
global using JiShe.ServicePro.Extensions;
|
||||||
|
global using JiShe.ServicePro.Extensions.Hangfire;
|
||||||
|
global using JiShe.ServicePro.MultiTenancy;
|
||||||
global using Microsoft.AspNetCore.Authentication.JwtBearer;
|
global using Microsoft.AspNetCore.Authentication.JwtBearer;
|
||||||
global using Microsoft.AspNetCore.Builder;
|
global using Microsoft.AspNetCore.Builder;
|
||||||
global using Microsoft.AspNetCore.DataProtection;
|
global using Microsoft.AspNetCore.DataProtection;
|
||||||
@ -35,6 +37,7 @@ global using Microsoft.Extensions.Logging.Abstractions;
|
|||||||
global using Microsoft.Extensions.Options;
|
global using Microsoft.Extensions.Options;
|
||||||
global using Microsoft.IdentityModel.Tokens;
|
global using Microsoft.IdentityModel.Tokens;
|
||||||
global using Microsoft.OpenApi.Models;
|
global using Microsoft.OpenApi.Models;
|
||||||
|
global using JiShe.ServicePro;
|
||||||
global using Serilog;
|
global using Serilog;
|
||||||
global using StackExchange.Redis;
|
global using StackExchange.Redis;
|
||||||
global using Swagger;
|
global using Swagger;
|
||||||
@ -55,6 +58,7 @@ global using Volo.Abp.BackgroundJobs.Hangfire;
|
|||||||
global using Volo.Abp.Caching;
|
global using Volo.Abp.Caching;
|
||||||
global using Volo.Abp.Caching.StackExchangeRedis;
|
global using Volo.Abp.Caching.StackExchangeRedis;
|
||||||
global using Volo.Abp.DependencyInjection;
|
global using Volo.Abp.DependencyInjection;
|
||||||
|
global using Volo.Abp.DistributedLocking;
|
||||||
global using Volo.Abp.Domain.Entities;
|
global using Volo.Abp.Domain.Entities;
|
||||||
global using Volo.Abp.ExceptionHandling;
|
global using Volo.Abp.ExceptionHandling;
|
||||||
global using Volo.Abp.Http;
|
global using Volo.Abp.Http;
|
||||||
@ -0,0 +1,68 @@
|
|||||||
|
<Project Sdk="Microsoft.NET.Sdk.Web">
|
||||||
|
|
||||||
|
|
||||||
|
<PropertyGroup>
|
||||||
|
<TargetFramework>net9.0</TargetFramework>
|
||||||
|
<RootNamespace>JiShe.ServicePro</RootNamespace>
|
||||||
|
<PreserveCompilationReferences>true</PreserveCompilationReferences>
|
||||||
|
<UserSecretsId>JiShe.ServicePro-4681b4fd-151f-4221-84a4-929d86723e4c</UserSecretsId>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" />
|
||||||
|
<PackageReference Include="Microsoft.AspNetCore.DataProtection.StackExchangeRedis" />
|
||||||
|
<PackageReference Include="Volo.Abp.Account.Web" />
|
||||||
|
<PackageReference Include="Volo.Abp.AspNetCore.Mvc.UI.MultiTenancy" />
|
||||||
|
<PackageReference Include="Volo.Abp.Autofac" />
|
||||||
|
<PackageReference Include="Volo.Abp.Caching.StackExchangeRedis" />
|
||||||
|
<PackageReference Include="Volo.Abp.AspNetCore.Serilog" />
|
||||||
|
<PackageReference Include="Volo.Abp.Swashbuckle" />
|
||||||
|
<PackageReference Include="Volo.Abp.AspNetCore.Authentication.JwtBearer" />
|
||||||
|
<PackageReference Include="Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic" />
|
||||||
|
<PackageReference Include="Serilog" />
|
||||||
|
<PackageReference Include="Serilog.AspNetCore" />
|
||||||
|
<PackageReference Include="Serilog.Exceptions" />
|
||||||
|
<PackageReference Include="Serilog.Extensions.Logging" />
|
||||||
|
<PackageReference Include="Serilog.Settings.Configuration" />
|
||||||
|
<PackageReference Include="Serilog.Sinks.Console" />
|
||||||
|
<PackageReference Include="Serilog.Sinks.Elasticsearch" />
|
||||||
|
<PackageReference Include="Serilog.Sinks.File" />
|
||||||
|
<PackageReference Include="Serilog.Sinks.Async" />
|
||||||
|
<PackageReference Include="Hangfire.Redis.StackExchange" />
|
||||||
|
<PackageReference Include="Microsoft.Extensions.Diagnostics.HealthChecks" />
|
||||||
|
<PackageReference Include="MiniProfiler.AspNetCore.Mvc" />
|
||||||
|
<PackageReference Include="JiShe.ServicePro.CAP" />
|
||||||
|
<PackageReference Include="JiShe.ServicePro.CAP.EntityFrameworkCore" />
|
||||||
|
<PackageReference Include="DotNetCore.CAP.MySql" />
|
||||||
|
<PackageReference Include="DotNetCore.CAP.RabbitMQ" />
|
||||||
|
<PackageReference Include="DotNetCore.CAP.Dashboard" />
|
||||||
|
<PackageReference Include="MiniProfiler.AspNetCore.Mvc" />
|
||||||
|
<PackageReference Include="MiniProfiler.EntityFrameworkCore" />
|
||||||
|
<PackageReference Include="MiniProfiler.Shared" />
|
||||||
|
<PackageReference Include="Volo.Abp.BackgroundJobs.HangFire" />
|
||||||
|
<PackageReference Include="Volo.Abp.DistributedLocking"/>
|
||||||
|
<PackageReference Include="DistributedLock.Redis"/>
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<ProjectReference Include="..\..\src\JiShe.ServicePro.Application\JiShe.ServicePro.Application.csproj"/>
|
||||||
|
<ProjectReference Include="..\..\src\JiShe.ServicePro.EntityFrameworkCore\JiShe.ServicePro.EntityFrameworkCore.csproj"/>
|
||||||
|
<ProjectReference Include="..\..\src\JiShe.ServicePro.HttpApi\JiShe.ServicePro.HttpApi.csproj"/>
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<PackageReference Include="JiShe.ServicePro.Shared.Hosting.Microservices"/>
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<Compile Remove="Logs\**"/>
|
||||||
|
<Content Remove="Logs\**"/>
|
||||||
|
<EmbeddedResource Remove="Logs\**"/>
|
||||||
|
<None Remove="Logs\**"/>
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<Content Remove="$(UserProfile)\.nuget\packages\*\*\contentFiles\any\*\*.abppkg*.json"/>
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
</Project>
|
||||||
@ -1,5 +1,5 @@
|
|||||||
@page
|
@page
|
||||||
@model JiShe.IOT.Pages.Login
|
@model JiShe.ServicePro.Pages.Login
|
||||||
|
|
||||||
@{
|
@{
|
||||||
Layout = null;
|
Layout = null;
|
||||||
@ -1,11 +1,11 @@
|
|||||||
|
|
||||||
using Lion.AbpPro.BasicManagement.ConfigurationOptions;
|
using JiShe.ServicePro.BasicManagement.ConfigurationOptions;
|
||||||
using Lion.AbpPro.BasicManagement.Users;
|
using JiShe.ServicePro.BasicManagement.Users;
|
||||||
using Lion.AbpPro.BasicManagement.Users.Dtos;
|
using JiShe.ServicePro.BasicManagement.Users.Dtos;
|
||||||
using Microsoft.AspNetCore.Mvc.RazorPages;
|
using Microsoft.AspNetCore.Mvc.RazorPages;
|
||||||
|
|
||||||
|
|
||||||
namespace JiShe.IOT.Pages
|
namespace JiShe.ServicePro.Pages
|
||||||
{
|
{
|
||||||
public class Login : PageModel
|
public class Login : PageModel
|
||||||
{
|
{
|
||||||
@ -48,12 +48,12 @@ namespace JiShe.IOT.Pages
|
|||||||
|
|
||||||
|
|
||||||
// 设置cookies domain
|
// 设置cookies domain
|
||||||
//options.Domain = "IOT.cn";
|
//options.Domain = "ServicePro.cn";
|
||||||
|
|
||||||
|
|
||||||
var result = await _accountAppService.LoginAsync(new LoginInput()
|
var result = await _accountAppService.LoginAsync(new LoginInput()
|
||||||
{ Name = userName, Password = password });
|
{ Name = userName, Password = password });
|
||||||
Response.Cookies.Append(IOTHttpApiHostConst.DefaultCookieName,
|
Response.Cookies.Append(ServiceProHttpApiHostConst.DefaultCookieName,
|
||||||
result.Token, options);
|
result.Token, options);
|
||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
@ -1,6 +1,6 @@
|
|||||||
@page
|
@page
|
||||||
@using JiShe.IOT
|
@using JiShe.ServicePro
|
||||||
@model JiShe.IOT.Pages.Monitor
|
@model JiShe.ServicePro.Pages.Monitor
|
||||||
|
|
||||||
|
|
||||||
@{
|
@{
|
||||||
@ -27,12 +27,12 @@
|
|||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-sm-6 col-md-4 col-lg-3">
|
<div class="col-sm-6 col-md-4 col-lg-3">
|
||||||
<div class="thumbnail" style="height: 180px">
|
<div class="thumbnail" style="height: 180px">
|
||||||
<a href="@IOTHttpApiHostConst.SwaggerUiEndPoint" target="_blank">
|
<a href="@ServiceProHttpApiHostConst.SwaggerUiEndPoint" target="_blank">
|
||||||
<img class="lazy" src="/images/swagger.png" width="300" height="150"/>
|
<img class="lazy" src="/images/swagger.png" width="300" height="150"/>
|
||||||
</a>
|
</a>
|
||||||
<div class="caption">
|
<div class="caption">
|
||||||
<h3>
|
<h3>
|
||||||
<a href="@IOTHttpApiHostConst.SwaggerUiEndPoint" target="_blank">SwaggerUI</a>
|
<a href="@ServiceProHttpApiHostConst.SwaggerUiEndPoint" target="_blank">SwaggerUI</a>
|
||||||
</h3>
|
</h3>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -40,36 +40,36 @@
|
|||||||
|
|
||||||
@* <div class="col-sm-6 col-md-4 col-lg-3"> *@
|
@* <div class="col-sm-6 col-md-4 col-lg-3"> *@
|
||||||
@* <div class="thumbnail" style="height: 180px"> *@
|
@* <div class="thumbnail" style="height: 180px"> *@
|
||||||
@* <a href="@IOTHttpApiHostConst.HangfireDashboardEndPoint" target="_blank"> *@
|
@* <a href="@ServiceProHttpApiHostConst.HangfireDashboardEndPoint" target="_blank"> *@
|
||||||
@* <img class="lazy" src="/images/hangfire.png" width="300" height="150"/> *@
|
@* <img class="lazy" src="/images/hangfire.png" width="300" height="150"/> *@
|
||||||
@* </a> *@
|
@* </a> *@
|
||||||
@* <div class="caption"> *@
|
@* <div class="caption"> *@
|
||||||
@* <h3> *@
|
@* <h3> *@
|
||||||
@* <a href="@IOTHttpApiHostConst.HangfireDashboardEndPoint" target="_blank">Hangfire面板</a> *@
|
@* <a href="@ServiceProHttpApiHostConst.HangfireDashboardEndPoint" target="_blank">Hangfire面板</a> *@
|
||||||
@* </h3> *@
|
@* </h3> *@
|
||||||
@* </div> *@
|
@* </div> *@
|
||||||
@* </div> *@
|
@* </div> *@
|
||||||
@* </div> *@
|
@* </div> *@
|
||||||
<div class="col-sm-6 col-md-4 col-lg-3">
|
<div class="col-sm-6 col-md-4 col-lg-3">
|
||||||
<div class="thumbnail" style="height: 180px">
|
<div class="thumbnail" style="height: 180px">
|
||||||
<a href="@IOTHttpApiHostConst.MiniprofilerEndPoint" target="_blank">
|
<a href="@ServiceProHttpApiHostConst.MiniprofilerEndPoint" target="_blank">
|
||||||
<img class="lazy" src="/images/miniprofiler.png" width="300" height="150"/>
|
<img class="lazy" src="/images/miniprofiler.png" width="300" height="150"/>
|
||||||
</a>
|
</a>
|
||||||
<div class="caption">
|
<div class="caption">
|
||||||
<h3>
|
<h3>
|
||||||
<a href="@IOTHttpApiHostConst.MiniprofilerEndPoint" target="_blank">Miniprofiler</a>
|
<a href="@ServiceProHttpApiHostConst.MiniprofilerEndPoint" target="_blank">Miniprofiler</a>
|
||||||
</h3>
|
</h3>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-sm-6 col-md-4 col-lg-3">
|
<div class="col-sm-6 col-md-4 col-lg-3">
|
||||||
<div class="thumbnail" style="height: 180px">
|
<div class="thumbnail" style="height: 180px">
|
||||||
<a href="@IOTHttpApiHostConst.MoreEndPoint" target="_blank">
|
<a href="@ServiceProHttpApiHostConst.MoreEndPoint" target="_blank">
|
||||||
<img class="lazy" src="/images/more.png" width="300" height="150"/>
|
<img class="lazy" src="/images/more.png" width="300" height="150"/>
|
||||||
</a>
|
</a>
|
||||||
<div class="caption">
|
<div class="caption">
|
||||||
<h3>
|
<h3>
|
||||||
<a href="@IOTHttpApiHostConst.MoreEndPoint" target="_blank">了解更多...</a>
|
<a href="@ServiceProHttpApiHostConst.MoreEndPoint" target="_blank">了解更多...</a>
|
||||||
</h3>
|
</h3>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -1,6 +1,6 @@
|
|||||||
using Microsoft.AspNetCore.Mvc.RazorPages;
|
using Microsoft.AspNetCore.Mvc.RazorPages;
|
||||||
|
|
||||||
namespace JiShe.IOT.Pages
|
namespace JiShe.ServicePro.Pages
|
||||||
{
|
{
|
||||||
public class Monitor : PageModel
|
public class Monitor : PageModel
|
||||||
{
|
{
|
||||||
48
host/JiShe.ServicePro.HttpApi.Host/Program.cs
Normal file
@ -0,0 +1,48 @@
|
|||||||
|
using Serilog.Events;
|
||||||
|
|
||||||
|
namespace JiShe.ServicePro;
|
||||||
|
|
||||||
|
public class Program
|
||||||
|
{
|
||||||
|
public static async Task<int> Main(string[] args)
|
||||||
|
{
|
||||||
|
Log.Logger = new LoggerConfiguration()
|
||||||
|
.WriteTo.Async(c => c.File("Logs/logs.txt"))
|
||||||
|
.WriteTo.Async(c => c.Console())
|
||||||
|
.CreateBootstrapLogger();
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
|
Log.Information("JiShe.ServicePro.HttpApi.Host.");
|
||||||
|
var builder = WebApplication.CreateBuilder(args);
|
||||||
|
builder.Host
|
||||||
|
.AddAppSettingsSecretsJson()
|
||||||
|
.UseAutofac()
|
||||||
|
.UseSerilog((context, loggerConfiguration) =>
|
||||||
|
{
|
||||||
|
SerilogToEsExtensions.SetSerilogConfiguration(
|
||||||
|
loggerConfiguration,
|
||||||
|
context.Configuration);
|
||||||
|
});
|
||||||
|
await builder.AddApplicationAsync<JiShe.ServicePro.ServiceProHttpApiHostModule>();
|
||||||
|
var app = builder.Build();
|
||||||
|
await app.InitializeApplicationAsync();
|
||||||
|
await app.RunAsync();
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
catch (Exception ex)
|
||||||
|
{
|
||||||
|
if (ex is HostAbortedException)
|
||||||
|
{
|
||||||
|
throw;
|
||||||
|
}
|
||||||
|
|
||||||
|
Log.Fatal(ex, "Host terminated unexpectedly!");
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
finally
|
||||||
|
{
|
||||||
|
await Log.CloseAndFlushAsync();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"profiles": {
|
"profiles": {
|
||||||
"JiShe.IOT.HttpApi.Host": {
|
"JiShe.ServicePro.HttpApi.Host": {
|
||||||
"commandName": "Project",
|
"commandName": "Project",
|
||||||
"launchBrowser": true,
|
"launchBrowser": true,
|
||||||
"applicationUrl": "http://localhost:44315",
|
"applicationUrl": "http://localhost:44315",
|
||||||
@ -1,6 +1,6 @@
|
|||||||
namespace JiShe.IOT
|
namespace JiShe.ServicePro
|
||||||
{
|
{
|
||||||
public static class IOTHttpApiHostConst
|
public static class ServiceProHttpApiHostConst
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 跨域策略名
|
/// 跨域策略名
|
||||||
@ -10,7 +10,7 @@ namespace JiShe.IOT
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Cookies名称
|
/// Cookies名称
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public const string DefaultCookieName = "JiShe.IOT.Http.Api";
|
public const string DefaultCookieName = "JiShe.ServicePro.Http.Api";
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// SwaggerUi 端点
|
/// SwaggerUi 端点
|
||||||
@ -0,0 +1,274 @@
|
|||||||
|
using Hangfire.Redis.StackExchange;
|
||||||
|
using Medallion.Threading;
|
||||||
|
using Medallion.Threading.Redis;
|
||||||
|
|
||||||
|
namespace JiShe.ServicePro;
|
||||||
|
|
||||||
|
public partial class ServiceProHttpApiHostModule
|
||||||
|
{
|
||||||
|
private void ConfigureHangfire(ServiceConfigurationContext context)
|
||||||
|
{
|
||||||
|
var redisStorageOptions = new RedisStorageOptions()
|
||||||
|
{
|
||||||
|
Db = context.Services.GetConfiguration().GetValue<int>("Hangfire:Redis:DB")
|
||||||
|
};
|
||||||
|
|
||||||
|
Configure<AbpBackgroundJobOptions>(options => { options.IsJobExecutionEnabled = true; });
|
||||||
|
|
||||||
|
context.Services.AddHangfire(config =>
|
||||||
|
{
|
||||||
|
config.UseRedisStorage(
|
||||||
|
context.Services.GetConfiguration().GetValue<string>("Hangfire:Redis:Host"), redisStorageOptions)
|
||||||
|
.WithJobExpirationTimeout(TimeSpan.FromDays(7));
|
||||||
|
var delaysInSeconds = new[] { 10, 60, 60 * 3 }; // 重试时间间隔
|
||||||
|
const int Attempts = 3; // 重试次数
|
||||||
|
config.UseFilter(new AutomaticRetryAttribute() { Attempts = Attempts, DelaysInSeconds = delaysInSeconds });
|
||||||
|
//config.UseFilter(new AutoDeleteAfterSuccessAttribute(TimeSpan.FromDays(7)));
|
||||||
|
config.UseFilter(new JobRetryLastFilter(Attempts));
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 配置MiniProfiler
|
||||||
|
/// </summary>
|
||||||
|
private void ConfigureMiniProfiler(ServiceConfigurationContext context)
|
||||||
|
{
|
||||||
|
if (context.Services.GetConfiguration().GetValue("MiniProfiler:Enabled", false))
|
||||||
|
{
|
||||||
|
context.Services.AddMiniProfiler(options => options.RouteBasePath = "/profiler").AddEntityFramework();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 配置JWT
|
||||||
|
/// </summary>
|
||||||
|
private void ConfigureJwtAuthentication(ServiceConfigurationContext context, IConfiguration configuration)
|
||||||
|
{
|
||||||
|
context.Services.AddAuthentication(options =>
|
||||||
|
{
|
||||||
|
options.DefaultAuthenticateScheme = JwtBearerDefaults.AuthenticationScheme;
|
||||||
|
options.DefaultChallengeScheme = JwtBearerDefaults.AuthenticationScheme;
|
||||||
|
})
|
||||||
|
.AddJwtBearer(options =>
|
||||||
|
{
|
||||||
|
options.TokenValidationParameters =
|
||||||
|
new TokenValidationParameters()
|
||||||
|
{
|
||||||
|
// 是否开启签名认证
|
||||||
|
ValidateIssuerSigningKey = true,
|
||||||
|
ValidateIssuer = true,
|
||||||
|
ValidateAudience = true,
|
||||||
|
ValidateLifetime = true,
|
||||||
|
ClockSkew = TimeSpan.Zero,
|
||||||
|
ValidIssuer = configuration["Jwt:Issuer"],
|
||||||
|
ValidAudience = configuration["Jwt:Audience"],
|
||||||
|
IssuerSigningKey =
|
||||||
|
new SymmetricSecurityKey(
|
||||||
|
Encoding.ASCII.GetBytes(configuration["Jwt:SecurityKey"]))
|
||||||
|
};
|
||||||
|
|
||||||
|
options.Events = new JwtBearerEvents
|
||||||
|
{
|
||||||
|
OnMessageReceived = currentContext =>
|
||||||
|
{
|
||||||
|
var path = currentContext.HttpContext.Request.Path;
|
||||||
|
if (path.StartsWithSegments("/login"))
|
||||||
|
{
|
||||||
|
return Task.CompletedTask;
|
||||||
|
}
|
||||||
|
|
||||||
|
var accessToken = string.Empty;
|
||||||
|
if (currentContext.HttpContext.Request.Headers.ContainsKey("Authorization"))
|
||||||
|
{
|
||||||
|
accessToken = currentContext.HttpContext.Request.Headers["Authorization"];
|
||||||
|
if (!string.IsNullOrWhiteSpace(accessToken))
|
||||||
|
{
|
||||||
|
accessToken = accessToken.Split(" ").LastOrDefault();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if (accessToken.IsNullOrWhiteSpace())
|
||||||
|
{
|
||||||
|
accessToken = currentContext.Request.Query["access_token"].FirstOrDefault();
|
||||||
|
}
|
||||||
|
|
||||||
|
if (accessToken.IsNullOrWhiteSpace())
|
||||||
|
{
|
||||||
|
accessToken = currentContext.Request.Cookies[ServiceProHttpApiHostConst.DefaultCookieName];
|
||||||
|
}
|
||||||
|
|
||||||
|
currentContext.Token = accessToken;
|
||||||
|
currentContext.Request.Headers.Remove("Authorization");
|
||||||
|
currentContext.Request.Headers.Append("Authorization", $"Bearer {accessToken}");
|
||||||
|
|
||||||
|
return Task.CompletedTask;
|
||||||
|
}
|
||||||
|
};
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Redis缓存
|
||||||
|
/// </summary>
|
||||||
|
private void ConfigureCache(ServiceConfigurationContext context)
|
||||||
|
{
|
||||||
|
Configure<AbpDistributedCacheOptions>(
|
||||||
|
options => { options.KeyPrefix = "AbpPro:"; });
|
||||||
|
var configuration = context.Services.GetConfiguration();
|
||||||
|
var redis = ConnectionMultiplexer.Connect(configuration.GetValue<string>("Redis:Configuration"));
|
||||||
|
context.Services
|
||||||
|
.AddDataProtection()
|
||||||
|
.PersistKeysToStackExchangeRedis(redis, "AbpPro-Protection-Keys");
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 配置Identity
|
||||||
|
/// </summary>
|
||||||
|
private void ConfigureIdentity(ServiceConfigurationContext context)
|
||||||
|
{
|
||||||
|
context.Services.Configure<IdentityOptions>(options => { options.Lockout = new LockoutOptions() { AllowedForNewUsers = false }; });
|
||||||
|
}
|
||||||
|
|
||||||
|
private void ConfigurationSignalR(ServiceConfigurationContext context)
|
||||||
|
{
|
||||||
|
context.Services
|
||||||
|
.AddSignalR()
|
||||||
|
.AddStackExchangeRedis(context.Services.GetConfiguration().GetValue<string>("Redis:Configuration"),
|
||||||
|
options => { options.Configuration.ChannelPrefix = "JiShe.ServicePro"; });
|
||||||
|
}
|
||||||
|
|
||||||
|
private void ConfigureSwaggerServices(ServiceConfigurationContext context)
|
||||||
|
{
|
||||||
|
context.Services.AddSwaggerGen(
|
||||||
|
options =>
|
||||||
|
{
|
||||||
|
// 文件下载类型
|
||||||
|
options.MapType<FileContentResult>(() => new OpenApiSchema() { Type = "file" });
|
||||||
|
|
||||||
|
options.SwaggerDoc("AbpPro",
|
||||||
|
new OpenApiInfo { Title = "AbpPro API", Version = "v1" });
|
||||||
|
options.DocInclusionPredicate((docName, description) => true);
|
||||||
|
options.EnableAnnotations(); // 启用注解
|
||||||
|
options.DocumentFilter<HiddenAbpDefaultApiFilter>();
|
||||||
|
options.SchemaFilter<EnumSchemaFilter>();
|
||||||
|
// 加载所有xml注释,这里会导致swagger加载有点缓慢
|
||||||
|
var xmlPaths = Directory.GetFiles(AppContext.BaseDirectory, "*.xml");
|
||||||
|
foreach (var xml in xmlPaths)
|
||||||
|
{
|
||||||
|
options.IncludeXmlComments(xml, true);
|
||||||
|
}
|
||||||
|
|
||||||
|
options.AddSecurityDefinition(JwtBearerDefaults.AuthenticationScheme,
|
||||||
|
new OpenApiSecurityScheme()
|
||||||
|
{
|
||||||
|
Description = "直接在下框输入JWT生成的Token",
|
||||||
|
Name = "Authorization",
|
||||||
|
In = ParameterLocation.Header,
|
||||||
|
Type = SecuritySchemeType.Http,
|
||||||
|
Scheme = JwtBearerDefaults.AuthenticationScheme,
|
||||||
|
BearerFormat = "JWT"
|
||||||
|
});
|
||||||
|
options.AddSecurityRequirement(new OpenApiSecurityRequirement
|
||||||
|
{
|
||||||
|
{
|
||||||
|
new OpenApiSecurityScheme
|
||||||
|
{
|
||||||
|
Reference = new OpenApiReference
|
||||||
|
{
|
||||||
|
Type = ReferenceType.SecurityScheme, Id = "Bearer"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
new List<string>()
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
options.AddSecurityDefinition("ApiKey", new OpenApiSecurityScheme()
|
||||||
|
{
|
||||||
|
Type = SecuritySchemeType.ApiKey,
|
||||||
|
In = ParameterLocation.Header,
|
||||||
|
Name = "Accept-Language",
|
||||||
|
Description = "多语言设置,系统预设语言有zh-Hans、en,默认为zh-Hans",
|
||||||
|
});
|
||||||
|
|
||||||
|
options.AddSecurityRequirement(new OpenApiSecurityRequirement
|
||||||
|
{
|
||||||
|
{
|
||||||
|
new OpenApiSecurityScheme
|
||||||
|
{
|
||||||
|
Reference = new OpenApiReference
|
||||||
|
{ Type = ReferenceType.SecurityScheme, Id = "ApiKey" }
|
||||||
|
},
|
||||||
|
Array.Empty<string>()
|
||||||
|
}
|
||||||
|
});
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
private void ConfigureCap(ServiceConfigurationContext context)
|
||||||
|
{
|
||||||
|
var configuration = context.Services.GetConfiguration();
|
||||||
|
context.AddAbpCap(capOptions =>
|
||||||
|
{
|
||||||
|
capOptions.SetCapDbConnectionString(configuration["ConnectionStrings:Default"]);
|
||||||
|
capOptions.UseEntityFramework<ServiceProDbContext>();
|
||||||
|
capOptions.UseRabbitMQ(option =>
|
||||||
|
{
|
||||||
|
option.HostName = configuration.GetValue<string>("Cap:RabbitMq:HostName");
|
||||||
|
option.UserName = configuration.GetValue<string>("Cap:RabbitMq:UserName");
|
||||||
|
option.Password = configuration.GetValue<string>("Cap:RabbitMq:Password");
|
||||||
|
option.Port = configuration.GetValue<int>("Cap:RabbitMq:Port");
|
||||||
|
});
|
||||||
|
capOptions.UseDashboard(options =>
|
||||||
|
{
|
||||||
|
options.AuthorizationPolicy = ServiceProCapPermissions.CapManagement.Cap;
|
||||||
|
});
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 审计日志
|
||||||
|
/// </summary>
|
||||||
|
private void ConfigureAuditLog(ServiceConfigurationContext context)
|
||||||
|
{
|
||||||
|
Configure<AbpAuditingOptions>
|
||||||
|
(
|
||||||
|
options =>
|
||||||
|
{
|
||||||
|
options.IsEnabled = true;
|
||||||
|
EntityHistorySelectorListExtensions.AddAllEntities(options.EntityHistorySelectors);
|
||||||
|
options.ApplicationName = "JiShe.ServicePro";
|
||||||
|
}
|
||||||
|
);
|
||||||
|
|
||||||
|
Configure<AbpAspNetCoreAuditingOptions>(
|
||||||
|
options =>
|
||||||
|
{
|
||||||
|
options.IgnoredUrls.Add("/AuditLogs/page");
|
||||||
|
options.IgnoredUrls.Add("/hangfire/stats");
|
||||||
|
options.IgnoredUrls.Add("/hangfire/recurring/trigger");
|
||||||
|
options.IgnoredUrls.Add("/cap");
|
||||||
|
options.IgnoredUrls.Add("/");
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
private void ConfigurationMultiTenancy()
|
||||||
|
{
|
||||||
|
Configure<AbpMultiTenancyOptions>(options => { options.IsEnabled = MultiTenancyConsts.IsEnabled; });
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 配置redis分布式锁
|
||||||
|
/// </summary>
|
||||||
|
private void ConfigurationDistributedLocking(ServiceConfigurationContext context)
|
||||||
|
{
|
||||||
|
var configuration = context.Services.GetConfiguration();
|
||||||
|
var connectionString = configuration.GetValue<string>("Redis:Configuration");
|
||||||
|
context.Services.AddSingleton<IDistributedLockProvider>(sp =>
|
||||||
|
{
|
||||||
|
var connection = ConnectionMultiplexer.Connect(connectionString);
|
||||||
|
return new RedisDistributedSynchronizationProvider(connection.GetDatabase());
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -0,0 +1,96 @@
|
|||||||
|
namespace JiShe.ServicePro
|
||||||
|
{
|
||||||
|
[DependsOn(
|
||||||
|
typeof(ServiceProHttpApiModule),
|
||||||
|
typeof(ServiceProSharedHostingMicroserviceModule),
|
||||||
|
typeof(AbpAspNetCoreMvcUiMultiTenancyModule),
|
||||||
|
typeof(ServiceProEntityFrameworkCoreModule),
|
||||||
|
typeof(AbpAspNetCoreAuthenticationJwtBearerModule),
|
||||||
|
typeof(AbpAspNetCoreSerilogModule),
|
||||||
|
typeof(AbpAccountWebModule),
|
||||||
|
typeof(ServiceProApplicationModule),
|
||||||
|
// typeof(AbpProCapModule),
|
||||||
|
// typeof(AbpProCapEntityFrameworkCoreModule),
|
||||||
|
typeof(AbpAspNetCoreMvcUiBasicThemeModule),
|
||||||
|
typeof(AbpCachingStackExchangeRedisModule),
|
||||||
|
typeof(AbpDistributedLockingModule)
|
||||||
|
//typeof(AbpBackgroundJobsHangfireModule)
|
||||||
|
)]
|
||||||
|
public partial class ServiceProHttpApiHostModule : AbpModule
|
||||||
|
{
|
||||||
|
public override void OnPostApplicationInitialization(ApplicationInitializationContext context)
|
||||||
|
{
|
||||||
|
// 应用程序初始化的时候注册hangfire
|
||||||
|
//context.CreateRecurringJob();
|
||||||
|
base.OnPostApplicationInitialization(context);
|
||||||
|
}
|
||||||
|
|
||||||
|
public override void ConfigureServices(ServiceConfigurationContext context)
|
||||||
|
{
|
||||||
|
var configuration = context.Services.GetConfiguration();
|
||||||
|
ConfigureCache(context);
|
||||||
|
ConfigurationDistributedLocking(context);
|
||||||
|
ConfigureSwaggerServices(context);
|
||||||
|
ConfigureJwtAuthentication(context, configuration);
|
||||||
|
//ConfigureHangfire(context);
|
||||||
|
ConfigureMiniProfiler(context);
|
||||||
|
ConfigureIdentity(context);
|
||||||
|
//ConfigureCap(context);
|
||||||
|
ConfigureAuditLog(context);
|
||||||
|
ConfigurationSignalR(context);
|
||||||
|
ConfigurationMultiTenancy();
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public override void OnApplicationInitialization(ApplicationInitializationContext context)
|
||||||
|
{
|
||||||
|
var app = context.GetApplicationBuilder();
|
||||||
|
var configuration = context.GetConfiguration();
|
||||||
|
app.UseServiceProRequestLocalization();
|
||||||
|
app.UseCorrelationId();
|
||||||
|
app.MapAbpStaticAssets();
|
||||||
|
if (configuration.GetValue("MiniProfiler:Enabled", false))
|
||||||
|
{
|
||||||
|
app.UseMiniProfiler();
|
||||||
|
}
|
||||||
|
|
||||||
|
app.UseRouting();
|
||||||
|
app.UseCors(ServiceProHttpApiHostConst.DefaultCorsPolicyName);
|
||||||
|
app.UseAuthentication();
|
||||||
|
|
||||||
|
if (MultiTenancyConsts.IsEnabled)
|
||||||
|
{
|
||||||
|
app.UseMultiTenancy();
|
||||||
|
}
|
||||||
|
|
||||||
|
app.UseAuthorization();
|
||||||
|
app.UseSwagger();
|
||||||
|
app.UseAbpSwaggerUI(options =>
|
||||||
|
{
|
||||||
|
options.SwaggerEndpoint("/swagger/AbpPro/swagger.json", "AbpPro API");
|
||||||
|
options.DocExpansion(DocExpansion.None);
|
||||||
|
options.DefaultModelsExpandDepth(-1);
|
||||||
|
});
|
||||||
|
|
||||||
|
app.UseAuditing();
|
||||||
|
app.UseAbpSerilogEnrichers();
|
||||||
|
app.UseUnitOfWork();
|
||||||
|
app.UseConfiguredEndpoints(endpoints =>
|
||||||
|
{
|
||||||
|
endpoints.MapHealthChecks("/health");
|
||||||
|
|
||||||
|
// endpoints.MapHangfireDashboard("/hangfire", new DashboardOptions()
|
||||||
|
// {
|
||||||
|
// Authorization = new[] { new CustomHangfireAuthorizeFilter() },
|
||||||
|
// IgnoreAntiforgeryToken = true
|
||||||
|
// });
|
||||||
|
|
||||||
|
});
|
||||||
|
|
||||||
|
if (configuration.GetValue("Consul:Enabled", false))
|
||||||
|
{
|
||||||
|
app.UseConsul();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -0,0 +1,52 @@
|
|||||||
|
{
|
||||||
|
"App": {
|
||||||
|
"SelfUrl": "http://localhost:44315",
|
||||||
|
"CorsOrigins": "https://*.ServicePro.com,http://localhost:4200,http://localhost:3100,http://localhost:80,http://localhost"
|
||||||
|
},
|
||||||
|
"ConnectionStrings": {
|
||||||
|
"Default": "Data Source=localhost;Port=3306;Database=JiSheServiceProDB;uid=root;pwd=admin123;charset=utf8mb4;Allow User Variables=true;AllowLoadLocalInfile=true"
|
||||||
|
},
|
||||||
|
"Hangfire": {
|
||||||
|
"Redis": {
|
||||||
|
"Host": "192.168.5.9:6380,password=1q2w3e!@#",
|
||||||
|
"DB": "2"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"Redis": {
|
||||||
|
"Configuration": "192.168.5.9:6380,password=1q2w3e!@#,defaultdatabase=5"
|
||||||
|
},
|
||||||
|
"Kafka": {
|
||||||
|
"BootstrapServers": "192.168.5.9:29092,192.168.5.9:39092,192.168.5.9:49092",
|
||||||
|
"EnableFilter": true,
|
||||||
|
"EnableAuthorization": false,
|
||||||
|
"SaslUserName": "lixiao",
|
||||||
|
"SaslPassword": "lixiao1980",
|
||||||
|
"KafkaReplicationFactor": 3,
|
||||||
|
"NumPartitions": 30,
|
||||||
|
"TaskThreadCount": -1,
|
||||||
|
"FirstCollectionTime": "2025-04-22 16:07:00"
|
||||||
|
},
|
||||||
|
"IoTDBOptions": {
|
||||||
|
"UserName": "root",
|
||||||
|
"Password": "root",
|
||||||
|
"ClusterList": [ "121.42.175.177:16667" ],
|
||||||
|
"PoolSize": 32,
|
||||||
|
"DataBaseName": "energy",
|
||||||
|
"OpenDebugMode": true,
|
||||||
|
"UseTableSessionPoolByDefault": false
|
||||||
|
},
|
||||||
|
"Jwt": {
|
||||||
|
"Audience": "JiShe.ServicePro",
|
||||||
|
"SecurityKey": "dzehzRz9a8asdfasfdadfasdfasdfafsdadfasbasdf=",
|
||||||
|
"Issuer": "JiShe.ServicePro",
|
||||||
|
"ExpirationTime": 2
|
||||||
|
},
|
||||||
|
"Cap": {
|
||||||
|
"RabbitMq": {
|
||||||
|
"HostName": "localhost",
|
||||||
|
"UserName": "admin",
|
||||||
|
"Password": "1q2w3E*",
|
||||||
|
"Port": 5672
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -0,0 +1,32 @@
|
|||||||
|
{
|
||||||
|
"App": {
|
||||||
|
"SelfUrl": "http://localhost:44315",
|
||||||
|
"CorsOrigins": "https://*.ServicePro.com,http://localhost:4200,http://localhost:3100,http://localhost:80,http://localhost"
|
||||||
|
},
|
||||||
|
"ConnectionStrings": {
|
||||||
|
"Default": "Data Source=localhost;Port=3306;Database=JiSheServiceProDB;uid=root;pwd=IFKy!Cufe3V9sYcz;charset=utf8mb4;Allow User Variables=true;AllowLoadLocalInfile=true"
|
||||||
|
},
|
||||||
|
"Redis": {
|
||||||
|
"Configuration": "localhost,password=1q2w3E*,defaultdatabase=1"
|
||||||
|
},
|
||||||
|
"Jwt": {
|
||||||
|
"Audience": "JiShe.ServicePro",
|
||||||
|
"SecurityKey": "dzehzRz9a8asdfasfdadfasdfasdfafsdadfasbasdf=",
|
||||||
|
"Issuer": "JiShe.ServicePro",
|
||||||
|
"ExpirationTime": 2
|
||||||
|
},
|
||||||
|
"Cap": {
|
||||||
|
"RabbitMq": {
|
||||||
|
"HostName": "localhost",
|
||||||
|
"UserName": "admin",
|
||||||
|
"Password": "1q2w3E*",
|
||||||
|
"Port": 5672
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"Hangfire": {
|
||||||
|
"Redis": {
|
||||||
|
"Host": "localhost,password=1q2w3E*",
|
||||||
|
"DB": "2"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
36
host/JiShe.ServicePro.HttpApi.Host/appsettings.json
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
{
|
||||||
|
"Serilog": {
|
||||||
|
"Using": [
|
||||||
|
"Serilog.Sinks.Console",
|
||||||
|
"Serilog.Sinks.File"
|
||||||
|
],
|
||||||
|
"MinimumLevel": {
|
||||||
|
"Default": "Debug",
|
||||||
|
"Override": {
|
||||||
|
"Microsoft": "Information",
|
||||||
|
"Volo.Abp": "Information",
|
||||||
|
"Hangfire": "Information",
|
||||||
|
"DotNetCore.CAP": "Information",
|
||||||
|
"Serilog.AspNetCore": "Information",
|
||||||
|
"Microsoft.EntityFrameworkCore": "Warning",
|
||||||
|
"Microsoft.AspNetCore": "Information"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"WriteTo": [
|
||||||
|
{
|
||||||
|
"Name": "Console"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Name": "File",
|
||||||
|
"Args": {
|
||||||
|
"path": "logs/logs-.txt",
|
||||||
|
"rollingInterval": "Day"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"App": {
|
||||||
|
"SelfUrl": "http://localhost:44315",
|
||||||
|
"CorsOrigins": "https://*.ServicePro.com,http://localhost:4200,http://localhost:3100"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 11 KiB |
|
Before Width: | Height: | Size: 35 KiB After Width: | Height: | Size: 35 KiB |
|
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 22 KiB |
|
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 20 KiB |
|
Before Width: | Height: | Size: 38 KiB After Width: | Height: | Size: 38 KiB |
@ -1,18 +0,0 @@
|
|||||||
namespace JiShe.IOT
|
|
||||||
{
|
|
||||||
[DependsOn(
|
|
||||||
typeof(IOTDomainSharedModule),
|
|
||||||
typeof(AbpObjectExtendingModule),
|
|
||||||
typeof(BasicManagementApplicationContractsModule),
|
|
||||||
typeof(NotificationManagementApplicationContractsModule),
|
|
||||||
typeof(DataDictionaryManagementApplicationContractsModule),
|
|
||||||
typeof(LanguageManagementApplicationContractsModule)
|
|
||||||
)]
|
|
||||||
public class IOTApplicationContractsModule : AbpModule
|
|
||||||
{
|
|
||||||
public override void PreConfigureServices(ServiceConfigurationContext context)
|
|
||||||
{
|
|
||||||
IOTDtoExtensions.Configure();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@ -1,23 +0,0 @@
|
|||||||
<Project Sdk="Microsoft.NET.Sdk">
|
|
||||||
|
|
||||||
<PropertyGroup>
|
|
||||||
<TargetFramework>net9.0</TargetFramework>
|
|
||||||
<RootNamespace>JiShe.IOT</RootNamespace>
|
|
||||||
</PropertyGroup>
|
|
||||||
|
|
||||||
<ItemGroup>
|
|
||||||
<ProjectReference Include="..\JiShe.IOT.Domain.Shared\JiShe.IOT.Domain.Shared.csproj"/>
|
|
||||||
</ItemGroup>
|
|
||||||
|
|
||||||
<ItemGroup>
|
|
||||||
<PackageReference Include="Volo.Abp.ObjectExtending"/>
|
|
||||||
</ItemGroup>
|
|
||||||
|
|
||||||
<ItemGroup>
|
|
||||||
<PackageReference Include="Lion.AbpPro.BasicManagement.Application.Contracts"/>
|
|
||||||
<PackageReference Include="Lion.AbpPro.NotificationManagement.Application.Contracts"/>
|
|
||||||
<PackageReference Include="Lion.AbpPro.DataDictionaryManagement.Application.Contracts"/>
|
|
||||||
<PackageReference Include="Lion.AbpPro.LanguageManagement.Application.Contracts"/>
|
|
||||||
</ItemGroup>
|
|
||||||
|
|
||||||
</Project>
|
|
||||||
@ -1,7 +0,0 @@
|
|||||||
namespace JiShe.IOT.Permissions
|
|
||||||
{
|
|
||||||
public static class IOTPermissions
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@ -1,12 +0,0 @@
|
|||||||
namespace JiShe.IOT
|
|
||||||
{
|
|
||||||
/* Inherit your application services from this class.
|
|
||||||
*/
|
|
||||||
public abstract class IOTAppService : ApplicationService
|
|
||||||
{
|
|
||||||
protected IOTAppService()
|
|
||||||
{
|
|
||||||
LocalizationResource = typeof(IOTResource);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@ -1,10 +0,0 @@
|
|||||||
namespace JiShe.IOT
|
|
||||||
{
|
|
||||||
public class IOTApplicationAutoMapperProfile : Profile
|
|
||||||
{
|
|
||||||
public IOTApplicationAutoMapperProfile()
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@ -1,23 +0,0 @@
|
|||||||
namespace JiShe.IOT
|
|
||||||
{
|
|
||||||
[DependsOn(
|
|
||||||
typeof(IOTDomainModule),
|
|
||||||
typeof(IOTApplicationContractsModule),
|
|
||||||
typeof(BasicManagementApplicationModule),
|
|
||||||
typeof(NotificationManagementApplicationModule),
|
|
||||||
typeof(DataDictionaryManagementApplicationModule),
|
|
||||||
typeof(LanguageManagementApplicationModule),
|
|
||||||
typeof(IOTFreeSqlModule)
|
|
||||||
)]
|
|
||||||
public class IOTApplicationModule : AbpModule
|
|
||||||
{
|
|
||||||
public override void ConfigureServices(ServiceConfigurationContext context)
|
|
||||||
{
|
|
||||||
Configure<AbpAutoMapperOptions>(options =>
|
|
||||||
{
|
|
||||||
options.AddMaps<IOTApplicationModule>();
|
|
||||||
});
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@ -1,26 +0,0 @@
|
|||||||
<Project Sdk="Microsoft.NET.Sdk">
|
|
||||||
|
|
||||||
|
|
||||||
<PropertyGroup>
|
|
||||||
<TargetFramework>net9.0</TargetFramework>
|
|
||||||
<RootNamespace>JiShe.IOT</RootNamespace>
|
|
||||||
</PropertyGroup>
|
|
||||||
|
|
||||||
<ItemGroup>
|
|
||||||
<ProjectReference Include="..\JiShe.IOT.Domain\JiShe.IOT.Domain.csproj"/>
|
|
||||||
<ProjectReference Include="..\JiShe.IOT.Application.Contracts\JiShe.IOT.Application.Contracts.csproj"/>
|
|
||||||
<ProjectReference Include="..\JiShe.IOT.FreeSqlRepository\JiShe.IOT.FreeSqlRepository.csproj"/>
|
|
||||||
</ItemGroup>
|
|
||||||
|
|
||||||
<ItemGroup>
|
|
||||||
<PackageReference Include="Lion.AbpPro.BasicManagement.Application"/>
|
|
||||||
<PackageReference Include="Lion.AbpPro.NotificationManagement.Application"/>
|
|
||||||
<PackageReference Include="Lion.AbpPro.DataDictionaryManagement.Application"/>
|
|
||||||
<PackageReference Include="Lion.AbpPro.LanguageManagement.Application"/>
|
|
||||||
</ItemGroup>
|
|
||||||
|
|
||||||
<ItemGroup>
|
|
||||||
<PackageReference Include="Volo.Abp.BackgroundJobs.HangFire"/>
|
|
||||||
</ItemGroup>
|
|
||||||
|
|
||||||
</Project>
|
|
||||||
@ -1,2 +0,0 @@
|
|||||||
using System.Runtime.CompilerServices;
|
|
||||||
[assembly:InternalsVisibleToAttribute("JiShe.IOT.Application.Tests")]
|
|
||||||
@ -1,19 +0,0 @@
|
|||||||
FROM mcr.microsoft.com/dotnet/aspnet:8.0
|
|
||||||
|
|
||||||
# 创建目录
|
|
||||||
RUN mkdir /app
|
|
||||||
|
|
||||||
COPY publish /app
|
|
||||||
|
|
||||||
# 设置工作目录
|
|
||||||
WORKDIR /app
|
|
||||||
|
|
||||||
# 设置时区 .net6 才有这个问题
|
|
||||||
ENV TZ=Asia/Shanghai
|
|
||||||
|
|
||||||
# 设置环境变量
|
|
||||||
ENV ASPNETCORE_ENVIRONMENT=Production
|
|
||||||
|
|
||||||
ENTRYPOINT ["dotnet", "JiShe.IOT.DbMigrator.dll"]
|
|
||||||
|
|
||||||
|
|
||||||
@ -1,5 +0,0 @@
|
|||||||
{
|
|
||||||
"ConnectionStrings": {
|
|
||||||
"Default": "Data Source=118.190.144.92;Port=33306;Database=JiSheIOTDB;uid=root;pwd=admin123;charset=utf8mb4;Allow User Variables=true;AllowLoadLocalInfile=true"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@ -1,7 +0,0 @@
|
|||||||
namespace JiShe.IOT
|
|
||||||
{
|
|
||||||
public static class IOTDomainErrorCodes
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@ -1,44 +0,0 @@
|
|||||||
namespace JiShe.IOT
|
|
||||||
{
|
|
||||||
[DependsOn(
|
|
||||||
typeof(BasicManagementDomainSharedModule),
|
|
||||||
typeof(NotificationManagementDomainSharedModule),
|
|
||||||
typeof(DataDictionaryManagementDomainSharedModule),
|
|
||||||
typeof(LanguageManagementDomainSharedModule),
|
|
||||||
typeof(AbpProCoreModule)
|
|
||||||
)]
|
|
||||||
public class IOTDomainSharedModule : AbpModule
|
|
||||||
{
|
|
||||||
public override void PreConfigureServices(ServiceConfigurationContext context)
|
|
||||||
{
|
|
||||||
IOTGlobalFeatureConfigurator.Configure();
|
|
||||||
IOTModuleExtensionConfigurator.Configure();
|
|
||||||
}
|
|
||||||
|
|
||||||
public override void ConfigureServices(ServiceConfigurationContext context)
|
|
||||||
{
|
|
||||||
Configure<AbpVirtualFileSystemOptions>(options =>
|
|
||||||
{
|
|
||||||
options.FileSets.AddEmbedded<IOTDomainSharedModule>(IOTDomainSharedConsts.NameSpace);
|
|
||||||
});
|
|
||||||
|
|
||||||
Configure<AbpLocalizationOptions>(options =>
|
|
||||||
{
|
|
||||||
options.Resources
|
|
||||||
.Add<IOTResource>(IOTDomainSharedConsts.DefaultCultureName)
|
|
||||||
.AddVirtualJson("/Localization/IOT")
|
|
||||||
.AddBaseTypes(typeof(BasicManagementResource))
|
|
||||||
.AddBaseTypes(typeof(AbpTimingResource));
|
|
||||||
|
|
||||||
options.DefaultResourceType = typeof(IOTResource);
|
|
||||||
});
|
|
||||||
|
|
||||||
Configure<AbpExceptionLocalizationOptions>(options =>
|
|
||||||
{
|
|
||||||
options.MapCodeNamespace(IOTDomainSharedConsts.NameSpace, typeof(IOTResource));
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@ -1,22 +0,0 @@
|
|||||||
<Project Sdk="Microsoft.NET.Sdk">
|
|
||||||
<PropertyGroup>
|
|
||||||
<TargetFramework>net9.0</TargetFramework>
|
|
||||||
<RootNamespace>JiShe.IOT</RootNamespace>
|
|
||||||
<GenerateEmbeddedFilesManifest>true</GenerateEmbeddedFilesManifest>
|
|
||||||
</PropertyGroup>
|
|
||||||
|
|
||||||
<ItemGroup>
|
|
||||||
<EmbeddedResource Include="Localization\IOT\*.json"/>
|
|
||||||
<Content Remove="Localization\IOT\*.json"/>
|
|
||||||
</ItemGroup>
|
|
||||||
|
|
||||||
|
|
||||||
<ItemGroup>
|
|
||||||
<PackageReference Include="Lion.AbpPro.Core"/>
|
|
||||||
<PackageReference Include="Lion.AbpPro.BasicManagement.Domain.Shared"/>
|
|
||||||
<PackageReference Include="Lion.AbpPro.NotificationManagement.Domain.Shared"/>
|
|
||||||
<PackageReference Include="Lion.AbpPro.DataDictionaryManagement.Domain.Shared"/>
|
|
||||||
<PackageReference Include="Lion.AbpPro.LanguageManagement.Domain.Shared"/>
|
|
||||||
</ItemGroup>
|
|
||||||
|
|
||||||
</Project>
|
|
||||||
@ -1,8 +0,0 @@
|
|||||||
namespace JiShe.IOT
|
|
||||||
{
|
|
||||||
[LocalizationResourceName("IOT")]
|
|
||||||
public class IOTResource
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@ -1,7 +0,0 @@
|
|||||||
namespace JiShe.IOT.Data
|
|
||||||
{
|
|
||||||
public interface IIOTDbSchemaMigrator
|
|
||||||
{
|
|
||||||
Task MigrateAsync();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@ -1,13 +0,0 @@
|
|||||||
namespace JiShe.IOT.Data
|
|
||||||
{
|
|
||||||
/* This is used if database provider does't define
|
|
||||||
* IIOTDbSchemaMigrator implementation.
|
|
||||||
*/
|
|
||||||
public class NullIOTDbSchemaMigrator : IIOTDbSchemaMigrator, ITransientDependency
|
|
||||||
{
|
|
||||||
public Task MigrateAsync()
|
|
||||||
{
|
|
||||||
return Task.CompletedTask;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@ -1,9 +0,0 @@
|
|||||||
namespace JiShe.IOT
|
|
||||||
{
|
|
||||||
public static class IOTDbProperties
|
|
||||||
{
|
|
||||||
public const string DbTablePrefix = "Abp";
|
|
||||||
|
|
||||||
public const string DbSchema = null;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@ -1,18 +0,0 @@
|
|||||||
namespace JiShe.IOT
|
|
||||||
{
|
|
||||||
[DependsOn(
|
|
||||||
typeof(IOTDomainSharedModule),
|
|
||||||
typeof(BasicManagementDomainModule),
|
|
||||||
typeof(NotificationManagementDomainModule),
|
|
||||||
typeof(DataDictionaryManagementDomainModule),
|
|
||||||
typeof(LanguageManagementDomainModule)
|
|
||||||
)]
|
|
||||||
public class IOTDomainModule : AbpModule
|
|
||||||
{
|
|
||||||
public override void ConfigureServices(ServiceConfigurationContext context)
|
|
||||||
{
|
|
||||||
Configure<AbpMultiTenancyOptions>(options => { options.IsEnabled = MultiTenancyConsts.IsEnabled; });
|
|
||||||
Configure<AbpAutoMapperOptions>(options => { options.AddMaps<IOTDomainModule>(); });
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@ -1,18 +0,0 @@
|
|||||||
<Project Sdk="Microsoft.NET.Sdk">
|
|
||||||
<PropertyGroup>
|
|
||||||
<TargetFramework>net9.0</TargetFramework>
|
|
||||||
<RootNamespace>JiShe.IOT</RootNamespace>
|
|
||||||
</PropertyGroup>
|
|
||||||
|
|
||||||
<ItemGroup>
|
|
||||||
<ProjectReference Include="..\JiShe.IOT.Domain.Shared\JiShe.IOT.Domain.Shared.csproj"/>
|
|
||||||
</ItemGroup>
|
|
||||||
|
|
||||||
<ItemGroup>
|
|
||||||
<PackageReference Include="Lion.AbpPro.BasicManagement.Domain"/>
|
|
||||||
<PackageReference Include="Lion.AbpPro.NotificationManagement.Domain"/>
|
|
||||||
<PackageReference Include="Lion.AbpPro.DataDictionaryManagement.Domain"/>
|
|
||||||
<PackageReference Include="Lion.AbpPro.LanguageManagement.Domain"/>
|
|
||||||
</ItemGroup>
|
|
||||||
|
|
||||||
</Project>
|
|
||||||
@ -1,3 +0,0 @@
|
|||||||
using System.Runtime.CompilerServices;
|
|
||||||
[assembly:InternalsVisibleToAttribute("JiShe.IOT.Domain.Tests")]
|
|
||||||
[assembly:InternalsVisibleToAttribute("JiShe.IOT.TestBase")]
|
|
||||||
@ -1,7 +0,0 @@
|
|||||||
namespace JiShe.IOT.Settings
|
|
||||||
{
|
|
||||||
public static class IOTSettings
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@ -1,8 +0,0 @@
|
|||||||
namespace JiShe.IOT.EntityFrameworkCore
|
|
||||||
{
|
|
||||||
[ConnectionStringName("Default")]
|
|
||||||
public interface IIOTDbContext : IEfCoreDbContext
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@ -1,11 +0,0 @@
|
|||||||
using Volo.Abp.EntityFrameworkCore.Modeling;
|
|
||||||
|
|
||||||
namespace JiShe.IOT.EntityFrameworkCore;
|
|
||||||
|
|
||||||
public static class IOTDbContextModelCreatingExtensions
|
|
||||||
{
|
|
||||||
public static void ConfigureIOT(this ModelBuilder builder)
|
|
||||||
{
|
|
||||||
Check.NotNull(builder, nameof(builder));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@ -1,25 +0,0 @@
|
|||||||
<Project Sdk="Microsoft.NET.Sdk">
|
|
||||||
<PropertyGroup>
|
|
||||||
<TargetFramework>net9.0</TargetFramework>
|
|
||||||
<RootNamespace>JiShe.IOT</RootNamespace>
|
|
||||||
</PropertyGroup>
|
|
||||||
|
|
||||||
<ItemGroup>
|
|
||||||
<ProjectReference Include="..\JiShe.IOT.Domain\JiShe.IOT.Domain.csproj"/>
|
|
||||||
<PackageReference Include="Volo.Abp.EntityFrameworkCore.MySQL"/>
|
|
||||||
</ItemGroup>
|
|
||||||
|
|
||||||
<ItemGroup>
|
|
||||||
<PackageReference Include="Lion.AbpPro.BasicManagement.EntityFrameworkCore"/>
|
|
||||||
<PackageReference Include="Lion.AbpPro.NotificationManagement.EntityFrameworkCore"/>
|
|
||||||
<PackageReference Include="Lion.AbpPro.DataDictionaryManagement.EntityFrameworkCore"/>
|
|
||||||
<PackageReference Include="Lion.AbpPro.LanguageManagement.EntityFrameworkCore"/>
|
|
||||||
</ItemGroup>
|
|
||||||
|
|
||||||
<ItemGroup>
|
|
||||||
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools">
|
|
||||||
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
|
|
||||||
<PrivateAssets>compile; contentFiles; build; buildMultitargeting; buildTransitive; analyzers; native</PrivateAssets>
|
|
||||||
</PackageReference>
|
|
||||||
</ItemGroup>
|
|
||||||
</Project>
|
|
||||||
@ -1,2 +0,0 @@
|
|||||||
using System.Runtime.CompilerServices;
|
|
||||||
[assembly:InternalsVisibleToAttribute("JiShe.IOT.EntityFrameworkCore.Tests")]
|
|
||||||
@ -1,27 +0,0 @@
|
|||||||
using Lion.AbpPro.BasicManagement;
|
|
||||||
using Lion.AbpPro.DataDictionaryManagement;
|
|
||||||
using Lion.AbpPro.LanguageManagement;
|
|
||||||
using Lion.AbpPro.NotificationManagement;
|
|
||||||
|
|
||||||
namespace JiShe.IOT
|
|
||||||
{
|
|
||||||
[DependsOn(
|
|
||||||
typeof(IOTApplicationContractsModule),
|
|
||||||
typeof(BasicManagementHttpApiClientModule),
|
|
||||||
typeof(NotificationManagementHttpApiClientModule),
|
|
||||||
typeof(DataDictionaryManagementHttpApiClientModule),
|
|
||||||
typeof(LanguageManagementHttpApiClientModule)
|
|
||||||
)]
|
|
||||||
public class IOTHttpApiClientModule : AbpModule
|
|
||||||
{
|
|
||||||
public const string RemoteServiceName = "Default";
|
|
||||||
|
|
||||||
public override void ConfigureServices(ServiceConfigurationContext context)
|
|
||||||
{
|
|
||||||
context.Services.AddHttpClientProxies(
|
|
||||||
typeof(IOTApplicationContractsModule).Assembly,
|
|
||||||
RemoteServiceName
|
|
||||||
);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@ -1,18 +0,0 @@
|
|||||||
<Project Sdk="Microsoft.NET.Sdk">
|
|
||||||
<PropertyGroup>
|
|
||||||
<TargetFramework>net9.0</TargetFramework>
|
|
||||||
<RootNamespace>JiShe.IOT</RootNamespace>
|
|
||||||
</PropertyGroup>
|
|
||||||
|
|
||||||
<ItemGroup>
|
|
||||||
<ProjectReference Include="..\JiShe.IOT.Application.Contracts\JiShe.IOT.Application.Contracts.csproj"/>
|
|
||||||
</ItemGroup>
|
|
||||||
|
|
||||||
<ItemGroup>
|
|
||||||
<PackageReference Include="Lion.AbpPro.BasicManagement.HttpApi.Client"/>
|
|
||||||
<PackageReference Include="Lion.AbpPro.NotificationManagement.HttpApi.Client"/>
|
|
||||||
<PackageReference Include="Lion.AbpPro.DataDictionaryManagement.HttpApi.Client"/>
|
|
||||||
<PackageReference Include="Lion.AbpPro.LanguageManagement.HttpApi.Client"/>
|
|
||||||
</ItemGroup>
|
|
||||||
|
|
||||||
</Project>
|
|
||||||
@ -1,12 +0,0 @@
|
|||||||
namespace JiShe.IOT.Controllers
|
|
||||||
{
|
|
||||||
/* Inherit your controllers from this class.
|
|
||||||
*/
|
|
||||||
public abstract class IOTController : AbpController
|
|
||||||
{
|
|
||||||
protected IOTController()
|
|
||||||
{
|
|
||||||
LocalizationResource = typeof(IOTResource);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@ -1,23 +0,0 @@
|
|||||||
<Project Sdk="Microsoft.NET.Sdk">
|
|
||||||
|
|
||||||
<PropertyGroup>
|
|
||||||
<TargetFramework>net9.0</TargetFramework>
|
|
||||||
<RootNamespace>JiShe.IOT</RootNamespace>
|
|
||||||
</PropertyGroup>
|
|
||||||
|
|
||||||
<ItemGroup>
|
|
||||||
<ProjectReference Include="..\JiShe.IOT.Application.Contracts\JiShe.IOT.Application.Contracts.csproj"/>
|
|
||||||
</ItemGroup>
|
|
||||||
|
|
||||||
<ItemGroup>
|
|
||||||
<PackageReference Include="Swashbuckle.AspNetCore.Annotations"/>
|
|
||||||
</ItemGroup>
|
|
||||||
|
|
||||||
<ItemGroup>
|
|
||||||
<PackageReference Include="Lion.AbpPro.BasicManagement.HttpApi"/>
|
|
||||||
<PackageReference Include="Lion.AbpPro.NotificationManagement.HttpApi"/>
|
|
||||||
<PackageReference Include="Lion.AbpPro.DataDictionaryManagement.HttpApi"/>
|
|
||||||
<PackageReference Include="Lion.AbpPro.LanguageManagement.HttpApi"/>
|
|
||||||
</ItemGroup>
|
|
||||||
|
|
||||||
</Project>
|
|
||||||
@ -2,10 +2,10 @@
|
|||||||
|
|
||||||
global using System;
|
global using System;
|
||||||
global using System.Threading.Tasks;
|
global using System.Threading.Tasks;
|
||||||
global using Lion.AbpPro.BasicManagement;
|
global using JiShe.ServicePro.BasicManagement;
|
||||||
global using Lion.AbpPro.DataDictionaryManagement;
|
global using JiShe.ServicePro.DataDictionaryManagement;
|
||||||
global using Lion.AbpPro.LanguageManagement;
|
global using JiShe.ServicePro.LanguageManagement;
|
||||||
global using Lion.AbpPro.NotificationManagement;
|
global using JiShe.ServicePro.NotificationManagement;
|
||||||
global using Volo.Abp.Application.Services;
|
global using Volo.Abp.Application.Services;
|
||||||
global using Volo.Abp.Authorization.Permissions;
|
global using Volo.Abp.Authorization.Permissions;
|
||||||
global using Volo.Abp.DependencyInjection;
|
global using Volo.Abp.DependencyInjection;
|
||||||
@ -0,0 +1,25 @@
|
|||||||
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
|
<PropertyGroup>
|
||||||
|
<TargetFramework>net9.0</TargetFramework>
|
||||||
|
<RootNamespace>JiShe.ServicePro</RootNamespace>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<ProjectReference Include="..\JiShe.ServicePro.Domain.Shared\JiShe.ServicePro.Domain.Shared.csproj"/>
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<PackageReference Include="Volo.Abp.ObjectExtending"/>
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<PackageReference Include="JiShe.ServicePro.BasicManagement.Application.Contracts"/>
|
||||||
|
<PackageReference Include="JiShe.ServicePro.NotificationManagement.Application.Contracts"/>
|
||||||
|
<PackageReference Include="JiShe.ServicePro.DataDictionaryManagement.Application.Contracts"/>
|
||||||
|
<PackageReference Include="JiShe.ServicePro.LanguageManagement.Application.Contracts"/>
|
||||||
|
<PackageReference Include="JiShe.ServicePro.CodeManagement.Application.Contracts"/>
|
||||||
|
<PackageReference Include="JiShe.ServicePro.TemplateManagement.Application.Contracts"/>
|
||||||
|
<PackageReference Include="JiShe.ServicePro.DynamicMenuManagement.Application.Contracts"/>
|
||||||
|
</ItemGroup>
|
||||||
|
</Project>
|
||||||
@ -1,4 +1,4 @@
|
|||||||
namespace JiShe.IOT.Jobs
|
namespace JiShe.ServicePro.Jobs
|
||||||
{
|
{
|
||||||
public interface IRecurringJob : ITransientDependency
|
public interface IRecurringJob : ITransientDependency
|
||||||
{
|
{
|
||||||
@ -1,6 +1,6 @@
|
|||||||
namespace JiShe.IOT.Permissions
|
namespace JiShe.ServicePro.Permissions
|
||||||
{
|
{
|
||||||
public class IOTPermissionDefinitionProvider : PermissionDefinitionProvider
|
public class ServiceProPermissionDefinitionProvider : PermissionDefinitionProvider
|
||||||
{
|
{
|
||||||
public override void Define(IPermissionDefinitionContext context)
|
public override void Define(IPermissionDefinitionContext context)
|
||||||
{
|
{
|
||||||
@ -11,7 +11,7 @@ namespace JiShe.IOT.Permissions
|
|||||||
|
|
||||||
private static LocalizableString L(string name)
|
private static LocalizableString L(string name)
|
||||||
{
|
{
|
||||||
return LocalizableString.Create<IOTResource>(name);
|
return LocalizableString.Create<ServiceProResource>(name);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -0,0 +1,7 @@
|
|||||||
|
namespace JiShe.ServicePro.Permissions
|
||||||
|
{
|
||||||
|
public static class ServiceProPermissions
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -0,0 +1,25 @@
|
|||||||
|
using JiShe.ServicePro.CodeManagement;
|
||||||
|
using JiShe.ServicePro.DynamicMenuManagement;
|
||||||
|
using JiShe.ServicePro.TemplateManagement;
|
||||||
|
|
||||||
|
namespace JiShe.ServicePro
|
||||||
|
{
|
||||||
|
[DependsOn(
|
||||||
|
typeof(ServiceProDomainSharedModule),
|
||||||
|
typeof(AbpObjectExtendingModule),
|
||||||
|
typeof(BasicManagementApplicationContractsModule),
|
||||||
|
typeof(NotificationManagementApplicationContractsModule),
|
||||||
|
typeof(DataDictionaryManagementApplicationContractsModule),
|
||||||
|
typeof(LanguageManagementApplicationContractsModule),
|
||||||
|
typeof(CodeManagementApplicationContractsModule),
|
||||||
|
typeof(TemplateManagementApplicationContractsModule),
|
||||||
|
typeof(DynamicMenuManagementApplicationContractsModule)
|
||||||
|
)]
|
||||||
|
public class ServiceProApplicationContractsModule : AbpModule
|
||||||
|
{
|
||||||
|
public override void PreConfigureServices(ServiceConfigurationContext context)
|
||||||
|
{
|
||||||
|
ServiceProDtoExtensions.Configure();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -1,6 +1,6 @@
|
|||||||
namespace JiShe.IOT
|
namespace JiShe.ServicePro
|
||||||
{
|
{
|
||||||
public static class IOTDtoExtensions
|
public static class ServiceProDtoExtensions
|
||||||
{
|
{
|
||||||
private static readonly OneTimeRunner OneTimeRunner = new OneTimeRunner();
|
private static readonly OneTimeRunner OneTimeRunner = new OneTimeRunner();
|
||||||
|
|
||||||
@ -0,0 +1,222 @@
|
|||||||
|
{
|
||||||
|
"format": 1,
|
||||||
|
"restore": {
|
||||||
|
"D:\\CodeBase\\MicroService\\IOT\\JiShe.IOT.Admin\\src\\JiShe.ServicePro.Application.Contracts\\JiShe.ServicePro.Application.Contracts.csproj": {}
|
||||||
|
},
|
||||||
|
"projects": {
|
||||||
|
"D:\\CodeBase\\MicroService\\IOT\\JiShe.IOT.Admin\\src\\JiShe.ServicePro.Application.Contracts\\JiShe.ServicePro.Application.Contracts.csproj": {
|
||||||
|
"version": "1.0.0",
|
||||||
|
"restore": {
|
||||||
|
"projectUniqueName": "D:\\CodeBase\\MicroService\\IOT\\JiShe.IOT.Admin\\src\\JiShe.ServicePro.Application.Contracts\\JiShe.ServicePro.Application.Contracts.csproj",
|
||||||
|
"projectName": "JiShe.ServicePro.Application.Contracts",
|
||||||
|
"projectPath": "D:\\CodeBase\\MicroService\\IOT\\JiShe.IOT.Admin\\src\\JiShe.ServicePro.Application.Contracts\\JiShe.ServicePro.Application.Contracts.csproj",
|
||||||
|
"packagesPath": "C:\\Users\\Admin\\.nuget\\packages\\",
|
||||||
|
"outputPath": "D:\\CodeBase\\MicroService\\IOT\\JiShe.IOT.Admin\\src\\JiShe.ServicePro.Application.Contracts\\obj\\",
|
||||||
|
"projectStyle": "PackageReference",
|
||||||
|
"fallbackFolders": [
|
||||||
|
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
|
||||||
|
],
|
||||||
|
"configFilePaths": [
|
||||||
|
"D:\\CodeBase\\MicroService\\IOT\\JiShe.IOT.Admin\\NuGet.Config",
|
||||||
|
"C:\\Users\\Admin\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
||||||
|
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
|
||||||
|
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
|
||||||
|
],
|
||||||
|
"originalTargetFrameworks": [
|
||||||
|
"net9.0"
|
||||||
|
],
|
||||||
|
"sources": {
|
||||||
|
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
|
||||||
|
"D:\\CodeBase\\DiyPackage": {},
|
||||||
|
"https://api.nuget.org/v3/index.json": {},
|
||||||
|
"https://api.nuget.org/v3/index.json": {}
|
||||||
|
},
|
||||||
|
"frameworks": {
|
||||||
|
"net9.0": {
|
||||||
|
"targetAlias": "net9.0",
|
||||||
|
"projectReferences": {
|
||||||
|
"D:\\CodeBase\\MicroService\\IOT\\JiShe.IOT.Admin\\src\\JiShe.ServicePro.Domain.Shared\\JiShe.ServicePro.Domain.Shared.csproj": {
|
||||||
|
"projectPath": "D:\\CodeBase\\MicroService\\IOT\\JiShe.IOT.Admin\\src\\JiShe.ServicePro.Domain.Shared\\JiShe.ServicePro.Domain.Shared.csproj"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"warningProperties": {
|
||||||
|
"noWarn": [
|
||||||
|
"NU1504"
|
||||||
|
],
|
||||||
|
"warnAsError": [
|
||||||
|
"NU1605"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"restoreAuditProperties": {
|
||||||
|
"enableAudit": "true",
|
||||||
|
"auditLevel": "low",
|
||||||
|
"auditMode": "direct"
|
||||||
|
},
|
||||||
|
"SdkAnalysisLevel": "9.0.200"
|
||||||
|
},
|
||||||
|
"frameworks": {
|
||||||
|
"net9.0": {
|
||||||
|
"targetAlias": "net9.0",
|
||||||
|
"dependencies": {
|
||||||
|
"JiShe.ServicePro.BasicManagement.Application.Contracts": {
|
||||||
|
"target": "Package",
|
||||||
|
"version": "[9.1.1.909, )"
|
||||||
|
},
|
||||||
|
"JiShe.ServicePro.CodeManagement.Application.Contracts": {
|
||||||
|
"target": "Package",
|
||||||
|
"version": "[9.1.1.909, )"
|
||||||
|
},
|
||||||
|
"JiShe.ServicePro.DataDictionaryManagement.Application.Contracts": {
|
||||||
|
"target": "Package",
|
||||||
|
"version": "[9.1.1.909, )"
|
||||||
|
},
|
||||||
|
"JiShe.ServicePro.DynamicMenuManagement.Application.Contracts": {
|
||||||
|
"target": "Package",
|
||||||
|
"version": "[9.1.1.909, )"
|
||||||
|
},
|
||||||
|
"JiShe.ServicePro.LanguageManagement.Application.Contracts": {
|
||||||
|
"target": "Package",
|
||||||
|
"version": "[9.1.1.909, )"
|
||||||
|
},
|
||||||
|
"JiShe.ServicePro.NotificationManagement.Application.Contracts": {
|
||||||
|
"target": "Package",
|
||||||
|
"version": "[9.1.1.909, )"
|
||||||
|
},
|
||||||
|
"JiShe.ServicePro.TemplateManagement.Application.Contracts": {
|
||||||
|
"target": "Package",
|
||||||
|
"version": "[9.1.1.909, )"
|
||||||
|
},
|
||||||
|
"Volo.Abp.ObjectExtending": {
|
||||||
|
"target": "Package",
|
||||||
|
"version": "[9.1.1, )"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"imports": [
|
||||||
|
"net461",
|
||||||
|
"net462",
|
||||||
|
"net47",
|
||||||
|
"net471",
|
||||||
|
"net472",
|
||||||
|
"net48",
|
||||||
|
"net481"
|
||||||
|
],
|
||||||
|
"assetTargetFallback": true,
|
||||||
|
"warn": true,
|
||||||
|
"frameworkReferences": {
|
||||||
|
"Microsoft.NETCore.App": {
|
||||||
|
"privateAssets": "all"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\9.0.204/PortableRuntimeIdentifierGraph.json"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"D:\\CodeBase\\MicroService\\IOT\\JiShe.IOT.Admin\\src\\JiShe.ServicePro.Domain.Shared\\JiShe.ServicePro.Domain.Shared.csproj": {
|
||||||
|
"version": "1.0.0",
|
||||||
|
"restore": {
|
||||||
|
"projectUniqueName": "D:\\CodeBase\\MicroService\\IOT\\JiShe.IOT.Admin\\src\\JiShe.ServicePro.Domain.Shared\\JiShe.ServicePro.Domain.Shared.csproj",
|
||||||
|
"projectName": "JiShe.ServicePro.Domain.Shared",
|
||||||
|
"projectPath": "D:\\CodeBase\\MicroService\\IOT\\JiShe.IOT.Admin\\src\\JiShe.ServicePro.Domain.Shared\\JiShe.ServicePro.Domain.Shared.csproj",
|
||||||
|
"packagesPath": "C:\\Users\\Admin\\.nuget\\packages\\",
|
||||||
|
"outputPath": "D:\\CodeBase\\MicroService\\IOT\\JiShe.IOT.Admin\\src\\JiShe.ServicePro.Domain.Shared\\obj\\",
|
||||||
|
"projectStyle": "PackageReference",
|
||||||
|
"fallbackFolders": [
|
||||||
|
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
|
||||||
|
],
|
||||||
|
"configFilePaths": [
|
||||||
|
"D:\\CodeBase\\MicroService\\IOT\\JiShe.IOT.Admin\\NuGet.Config",
|
||||||
|
"C:\\Users\\Admin\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
||||||
|
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
|
||||||
|
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
|
||||||
|
],
|
||||||
|
"originalTargetFrameworks": [
|
||||||
|
"net9.0"
|
||||||
|
],
|
||||||
|
"sources": {
|
||||||
|
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
|
||||||
|
"D:\\CodeBase\\DiyPackage": {},
|
||||||
|
"https://api.nuget.org/v3/index.json": {},
|
||||||
|
"https://api.nuget.org/v3/index.json": {}
|
||||||
|
},
|
||||||
|
"frameworks": {
|
||||||
|
"net9.0": {
|
||||||
|
"targetAlias": "net9.0",
|
||||||
|
"projectReferences": {}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"warningProperties": {
|
||||||
|
"noWarn": [
|
||||||
|
"NU1504"
|
||||||
|
],
|
||||||
|
"warnAsError": [
|
||||||
|
"NU1605"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"restoreAuditProperties": {
|
||||||
|
"enableAudit": "true",
|
||||||
|
"auditLevel": "low",
|
||||||
|
"auditMode": "direct"
|
||||||
|
},
|
||||||
|
"SdkAnalysisLevel": "9.0.200"
|
||||||
|
},
|
||||||
|
"frameworks": {
|
||||||
|
"net9.0": {
|
||||||
|
"targetAlias": "net9.0",
|
||||||
|
"dependencies": {
|
||||||
|
"JiShe.ServicePro.BasicManagement.Domain.Shared": {
|
||||||
|
"target": "Package",
|
||||||
|
"version": "[9.1.1.909, )"
|
||||||
|
},
|
||||||
|
"JiShe.ServicePro.CodeManagement.Domain.Shared": {
|
||||||
|
"target": "Package",
|
||||||
|
"version": "[9.1.1.909, )"
|
||||||
|
},
|
||||||
|
"JiShe.ServicePro.Core": {
|
||||||
|
"target": "Package",
|
||||||
|
"version": "[9.1.1.909, )"
|
||||||
|
},
|
||||||
|
"JiShe.ServicePro.DataDictionaryManagement.Domain.Shared": {
|
||||||
|
"target": "Package",
|
||||||
|
"version": "[9.1.1.909, )"
|
||||||
|
},
|
||||||
|
"JiShe.ServicePro.DynamicMenuManagement.Domain.Shared": {
|
||||||
|
"target": "Package",
|
||||||
|
"version": "[9.1.1.909, )"
|
||||||
|
},
|
||||||
|
"JiShe.ServicePro.LanguageManagement.Domain.Shared": {
|
||||||
|
"target": "Package",
|
||||||
|
"version": "[9.1.1.909, )"
|
||||||
|
},
|
||||||
|
"JiShe.ServicePro.NotificationManagement.Domain.Shared": {
|
||||||
|
"target": "Package",
|
||||||
|
"version": "[9.1.1.909, )"
|
||||||
|
},
|
||||||
|
"JiShe.ServicePro.TemplateManagement.Domain.Shared": {
|
||||||
|
"target": "Package",
|
||||||
|
"version": "[9.1.1.909, )"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"imports": [
|
||||||
|
"net461",
|
||||||
|
"net462",
|
||||||
|
"net47",
|
||||||
|
"net471",
|
||||||
|
"net472",
|
||||||
|
"net48",
|
||||||
|
"net481"
|
||||||
|
],
|
||||||
|
"assetTargetFallback": true,
|
||||||
|
"warn": true,
|
||||||
|
"frameworkReferences": {
|
||||||
|
"Microsoft.NETCore.App": {
|
||||||
|
"privateAssets": "all"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\9.0.204/PortableRuntimeIdentifierGraph.json"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -0,0 +1,19 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
||||||
|
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||||
|
<RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess>
|
||||||
|
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
|
||||||
|
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
|
||||||
|
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
|
||||||
|
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\Admin\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages</NuGetPackageFolders>
|
||||||
|
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
|
||||||
|
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.13.2</NuGetToolVersion>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||||
|
<SourceRoot Include="C:\Users\Admin\.nuget\packages\" />
|
||||||
|
<SourceRoot Include="C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages\" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ImportGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||||
|
<Import Project="$(NuGetPackageRoot)microsoft.extensions.configuration.usersecrets\9.0.0\buildTransitive\net8.0\Microsoft.Extensions.Configuration.UserSecrets.props" Condition="Exists('$(NuGetPackageRoot)microsoft.extensions.configuration.usersecrets\9.0.0\buildTransitive\net8.0\Microsoft.Extensions.Configuration.UserSecrets.props')" />
|
||||||
|
</ImportGroup>
|
||||||
|
</Project>
|
||||||
@ -0,0 +1,10 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
||||||
|
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<ImportGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||||
|
<Import Project="$(NuGetPackageRoot)microsoft.extensions.options\9.0.0\buildTransitive\net8.0\Microsoft.Extensions.Options.targets" Condition="Exists('$(NuGetPackageRoot)microsoft.extensions.options\9.0.0\buildTransitive\net8.0\Microsoft.Extensions.Options.targets')" />
|
||||||
|
<Import Project="$(NuGetPackageRoot)microsoft.extensions.configuration.binder\9.0.0\buildTransitive\netstandard2.0\Microsoft.Extensions.Configuration.Binder.targets" Condition="Exists('$(NuGetPackageRoot)microsoft.extensions.configuration.binder\9.0.0\buildTransitive\netstandard2.0\Microsoft.Extensions.Configuration.Binder.targets')" />
|
||||||
|
<Import Project="$(NuGetPackageRoot)microsoft.extensions.logging.abstractions\9.0.0\buildTransitive\net8.0\Microsoft.Extensions.Logging.Abstractions.targets" Condition="Exists('$(NuGetPackageRoot)microsoft.extensions.logging.abstractions\9.0.0\buildTransitive\net8.0\Microsoft.Extensions.Logging.Abstractions.targets')" />
|
||||||
|
<Import Project="$(NuGetPackageRoot)microsoft.extensions.configuration.usersecrets\9.0.0\buildTransitive\net8.0\Microsoft.Extensions.Configuration.UserSecrets.targets" Condition="Exists('$(NuGetPackageRoot)microsoft.extensions.configuration.usersecrets\9.0.0\buildTransitive\net8.0\Microsoft.Extensions.Configuration.UserSecrets.targets')" />
|
||||||
|
<Import Project="$(NuGetPackageRoot)system.text.json\9.0.0\buildTransitive\net8.0\System.Text.Json.targets" Condition="Exists('$(NuGetPackageRoot)system.text.json\9.0.0\buildTransitive\net8.0\System.Text.Json.targets')" />
|
||||||
|
</ImportGroup>
|
||||||
|
</Project>
|
||||||
8330
src/JiShe.ServicePro.Application.Contracts/obj/project.assets.json
Normal file
@ -0,0 +1,182 @@
|
|||||||
|
{
|
||||||
|
"version": 2,
|
||||||
|
"dgSpecHash": "KE5/1GHNyn0=",
|
||||||
|
"success": true,
|
||||||
|
"projectFilePath": "D:\\CodeBase\\MicroService\\IOT\\JiShe.IOT.Admin\\src\\JiShe.ServicePro.Application.Contracts\\JiShe.ServicePro.Application.Contracts.csproj",
|
||||||
|
"expectedPackageFiles": [
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\asynckeyedlock\\7.1.3\\asynckeyedlock.7.1.3.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\autofac\\8.1.0\\autofac.8.1.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\autofac.extensions.dependencyinjection\\10.0.0\\autofac.extensions.dependencyinjection.10.0.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\autofac.extras.dynamicproxy\\7.1.0\\autofac.extras.dynamicproxy.7.1.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\automapper\\13.0.1\\automapper.13.0.1.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\castle.core\\5.1.1\\castle.core.5.1.1.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\castle.core.asyncinterceptor\\2.1.0\\castle.core.asyncinterceptor.2.1.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\collections.pooled\\2.0.0-preview.27\\collections.pooled.2.0.0-preview.27.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\dynamicexpresso.core\\2.3.3\\dynamicexpresso.core.2.3.3.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\humanizer.core\\2.14.1\\humanizer.core.2.14.1.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\humanizer.core.zh-hans\\2.14.1\\humanizer.core.zh-hans.2.14.1.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\jetbrains.annotations\\2024.2.0\\jetbrains.annotations.2024.2.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\jishe.servicepro.basicmanagement.application.contracts\\9.1.1.909\\jishe.servicepro.basicmanagement.application.contracts.9.1.1.909.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\jishe.servicepro.basicmanagement.domain.shared\\9.1.1.909\\jishe.servicepro.basicmanagement.domain.shared.9.1.1.909.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\jishe.servicepro.codemanagement.application.contracts\\9.1.1.909\\jishe.servicepro.codemanagement.application.contracts.9.1.1.909.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\jishe.servicepro.codemanagement.domain.shared\\9.1.1.909\\jishe.servicepro.codemanagement.domain.shared.9.1.1.909.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\jishe.servicepro.core\\9.1.1.909\\jishe.servicepro.core.9.1.1.909.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\jishe.servicepro.datadictionarymanagement.application.contracts\\9.1.1.909\\jishe.servicepro.datadictionarymanagement.application.contracts.9.1.1.909.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\jishe.servicepro.datadictionarymanagement.domain.shared\\9.1.1.909\\jishe.servicepro.datadictionarymanagement.domain.shared.9.1.1.909.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\jishe.servicepro.dynamicmenumanagement.application.contracts\\9.1.1.909\\jishe.servicepro.dynamicmenumanagement.application.contracts.9.1.1.909.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\jishe.servicepro.dynamicmenumanagement.domain.shared\\9.1.1.909\\jishe.servicepro.dynamicmenumanagement.domain.shared.9.1.1.909.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\jishe.servicepro.languagemanagement.application.contracts\\9.1.1.909\\jishe.servicepro.languagemanagement.application.contracts.9.1.1.909.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\jishe.servicepro.languagemanagement.domain.shared\\9.1.1.909\\jishe.servicepro.languagemanagement.domain.shared.9.1.1.909.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\jishe.servicepro.localization\\9.1.1.909\\jishe.servicepro.localization.9.1.1.909.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\jishe.servicepro.notificationmanagement.application.contracts\\9.1.1.909\\jishe.servicepro.notificationmanagement.application.contracts.9.1.1.909.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\jishe.servicepro.notificationmanagement.domain.shared\\9.1.1.909\\jishe.servicepro.notificationmanagement.domain.shared.9.1.1.909.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\jishe.servicepro.templatemanagement.application.contracts\\9.1.1.909\\jishe.servicepro.templatemanagement.application.contracts.9.1.1.909.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\jishe.servicepro.templatemanagement.domain.shared\\9.1.1.909\\jishe.servicepro.templatemanagement.domain.shared.9.1.1.909.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\magicodes.ie.core\\2.7.4.5\\magicodes.ie.core.2.7.4.5.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\magicodes.ie.epplus\\2.7.4.5\\magicodes.ie.epplus.2.7.4.5.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\magicodes.ie.excel\\2.7.4.5\\magicodes.ie.excel.2.7.4.5.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\microsoft.aspnetcore.authentication.abstractions\\2.2.0\\microsoft.aspnetcore.authentication.abstractions.2.2.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\microsoft.aspnetcore.authentication.core\\2.2.0\\microsoft.aspnetcore.authentication.core.2.2.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\microsoft.aspnetcore.authorization\\9.0.0\\microsoft.aspnetcore.authorization.9.0.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\microsoft.aspnetcore.authorization.policy\\2.2.0\\microsoft.aspnetcore.authorization.policy.2.2.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\microsoft.aspnetcore.hosting.abstractions\\2.2.0\\microsoft.aspnetcore.hosting.abstractions.2.2.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\microsoft.aspnetcore.hosting.server.abstractions\\2.2.0\\microsoft.aspnetcore.hosting.server.abstractions.2.2.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\microsoft.aspnetcore.http\\2.2.0\\microsoft.aspnetcore.http.2.2.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\microsoft.aspnetcore.http.abstractions\\2.2.0\\microsoft.aspnetcore.http.abstractions.2.2.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\microsoft.aspnetcore.http.extensions\\2.2.0\\microsoft.aspnetcore.http.extensions.2.2.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\microsoft.aspnetcore.http.features\\2.2.0\\microsoft.aspnetcore.http.features.2.2.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\microsoft.aspnetcore.metadata\\9.0.0\\microsoft.aspnetcore.metadata.9.0.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\microsoft.aspnetcore.mvc.abstractions\\2.2.0\\microsoft.aspnetcore.mvc.abstractions.2.2.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\microsoft.aspnetcore.mvc.core\\2.2.0\\microsoft.aspnetcore.mvc.core.2.2.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\microsoft.aspnetcore.responsecaching.abstractions\\2.2.0\\microsoft.aspnetcore.responsecaching.abstractions.2.2.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\microsoft.aspnetcore.routing\\2.2.0\\microsoft.aspnetcore.routing.2.2.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\microsoft.aspnetcore.routing.abstractions\\2.2.0\\microsoft.aspnetcore.routing.abstractions.2.2.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\microsoft.aspnetcore.webutilities\\2.2.0\\microsoft.aspnetcore.webutilities.2.2.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\microsoft.bcl.asyncinterfaces\\9.0.0\\microsoft.bcl.asyncinterfaces.9.0.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\microsoft.csharp\\4.7.0\\microsoft.csharp.4.7.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\microsoft.extensions.configuration\\9.0.0\\microsoft.extensions.configuration.9.0.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\microsoft.extensions.configuration.abstractions\\9.0.0\\microsoft.extensions.configuration.abstractions.9.0.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\microsoft.extensions.configuration.binder\\9.0.0\\microsoft.extensions.configuration.binder.9.0.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\microsoft.extensions.configuration.commandline\\9.0.0\\microsoft.extensions.configuration.commandline.9.0.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\microsoft.extensions.configuration.environmentvariables\\9.0.0\\microsoft.extensions.configuration.environmentvariables.9.0.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\microsoft.extensions.configuration.fileextensions\\9.0.0\\microsoft.extensions.configuration.fileextensions.9.0.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\microsoft.extensions.configuration.json\\9.0.0\\microsoft.extensions.configuration.json.9.0.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\microsoft.extensions.configuration.usersecrets\\9.0.0\\microsoft.extensions.configuration.usersecrets.9.0.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\microsoft.extensions.dependencyinjection\\9.0.0\\microsoft.extensions.dependencyinjection.9.0.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\microsoft.extensions.dependencyinjection.abstractions\\9.0.0\\microsoft.extensions.dependencyinjection.abstractions.9.0.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\microsoft.extensions.dependencymodel\\7.0.0\\microsoft.extensions.dependencymodel.7.0.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\microsoft.extensions.diagnostics.abstractions\\9.0.0\\microsoft.extensions.diagnostics.abstractions.9.0.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\microsoft.extensions.fileproviders.abstractions\\9.0.0\\microsoft.extensions.fileproviders.abstractions.9.0.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\microsoft.extensions.fileproviders.composite\\9.0.0\\microsoft.extensions.fileproviders.composite.9.0.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\microsoft.extensions.fileproviders.embedded\\9.0.0\\microsoft.extensions.fileproviders.embedded.9.0.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\microsoft.extensions.fileproviders.physical\\9.0.0\\microsoft.extensions.fileproviders.physical.9.0.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\microsoft.extensions.filesystemglobbing\\9.0.0\\microsoft.extensions.filesystemglobbing.9.0.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\microsoft.extensions.hosting.abstractions\\9.0.0\\microsoft.extensions.hosting.abstractions.9.0.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\microsoft.extensions.localization\\9.0.0\\microsoft.extensions.localization.9.0.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\microsoft.extensions.localization.abstractions\\9.0.0\\microsoft.extensions.localization.abstractions.9.0.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\microsoft.extensions.logging\\9.0.0\\microsoft.extensions.logging.9.0.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\microsoft.extensions.logging.abstractions\\9.0.0\\microsoft.extensions.logging.abstractions.9.0.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\microsoft.extensions.objectpool\\2.2.0\\microsoft.extensions.objectpool.2.2.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\microsoft.extensions.options\\9.0.0\\microsoft.extensions.options.9.0.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\microsoft.extensions.options.configurationextensions\\9.0.0\\microsoft.extensions.options.configurationextensions.9.0.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\microsoft.extensions.primitives\\9.0.0\\microsoft.extensions.primitives.9.0.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\microsoft.io.recyclablememorystream\\2.1.1\\microsoft.io.recyclablememorystream.2.1.1.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\microsoft.net.http.headers\\2.2.0\\microsoft.net.http.headers.2.2.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\microsoft.netcore.platforms\\1.1.0\\microsoft.netcore.platforms.1.1.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\microsoft.netcore.targets\\1.1.0\\microsoft.netcore.targets.1.1.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\nito.asyncex.context\\5.1.2\\nito.asyncex.context.5.1.2.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\nito.asyncex.tasks\\5.1.2\\nito.asyncex.tasks.5.1.2.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\nito.disposables\\2.2.1\\nito.disposables.2.2.1.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\sixlabors.imagesharp\\2.1.3\\sixlabors.imagesharp.2.1.3.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\skiasharp\\2.88.3\\skiasharp.2.88.3.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\skiasharp.nativeassets.linux.nodependencies\\2.88.3\\skiasharp.nativeassets.linux.nodependencies.2.88.3.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\skiasharp.nativeassets.macos\\2.88.3\\skiasharp.nativeassets.macos.2.88.3.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\skiasharp.nativeassets.win32\\2.88.3\\skiasharp.nativeassets.win32.2.88.3.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\system.buffers\\4.5.0\\system.buffers.4.5.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\system.collections\\4.3.0\\system.collections.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\system.collections.immutable\\9.0.0\\system.collections.immutable.9.0.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\system.componentmodel.annotations\\4.7.0\\system.componentmodel.annotations.4.7.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\system.diagnostics.debug\\4.3.0\\system.diagnostics.debug.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\system.diagnostics.diagnosticsource\\8.0.1\\system.diagnostics.diagnosticsource.8.0.1.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\system.diagnostics.eventlog\\6.0.0\\system.diagnostics.eventlog.6.0.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\system.formats.asn1\\7.0.0\\system.formats.asn1.7.0.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\system.globalization\\4.3.0\\system.globalization.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\system.io\\4.3.0\\system.io.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\system.linq\\4.3.0\\system.linq.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\system.linq.dynamic.core\\1.6.0.1\\system.linq.dynamic.core.1.6.0.1.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\system.linq.expressions\\4.3.0\\system.linq.expressions.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\system.linq.queryable\\4.3.0\\system.linq.queryable.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\system.objectmodel\\4.3.0\\system.objectmodel.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\system.reflection\\4.3.0\\system.reflection.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\system.reflection.emit\\4.3.0\\system.reflection.emit.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\system.reflection.emit.ilgeneration\\4.3.0\\system.reflection.emit.ilgeneration.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\system.reflection.emit.lightweight\\4.3.0\\system.reflection.emit.lightweight.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\system.reflection.extensions\\4.3.0\\system.reflection.extensions.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\system.reflection.primitives\\4.3.0\\system.reflection.primitives.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\system.reflection.typeextensions\\4.3.0\\system.reflection.typeextensions.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\system.resources.resourcemanager\\4.3.0\\system.resources.resourcemanager.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\system.runtime\\4.3.0\\system.runtime.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\system.runtime.compilerservices.unsafe\\5.0.0\\system.runtime.compilerservices.unsafe.5.0.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\system.runtime.extensions\\4.3.0\\system.runtime.extensions.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\system.runtime.loader\\4.3.0\\system.runtime.loader.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\system.security.cryptography.pkcs\\7.0.1\\system.security.cryptography.pkcs.7.0.1.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\system.text.encoding\\4.3.0\\system.text.encoding.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\system.text.encoding.codepages\\7.0.0\\system.text.encoding.codepages.7.0.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\system.text.encodings.web\\9.0.0\\system.text.encodings.web.9.0.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\system.text.json\\9.0.0\\system.text.json.9.0.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\system.threading\\4.3.0\\system.threading.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\system.threading.tasks\\4.3.0\\system.threading.tasks.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\system.threading.tasks.extensions\\4.5.1\\system.threading.tasks.extensions.4.5.1.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\timezoneconverter\\6.1.0\\timezoneconverter.6.1.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\volo.abp.account.application.contracts\\9.1.1\\volo.abp.account.application.contracts.9.1.1.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\volo.abp.aspnetcore.mvc.contracts\\9.1.1\\volo.abp.aspnetcore.mvc.contracts.9.1.1.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\volo.abp.auditing\\9.1.1\\volo.abp.auditing.9.1.1.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\volo.abp.auditing.contracts\\9.1.1\\volo.abp.auditing.contracts.9.1.1.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\volo.abp.auditlogging.domain.shared\\9.1.1\\volo.abp.auditlogging.domain.shared.9.1.1.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\volo.abp.authorization\\9.1.1\\volo.abp.authorization.9.1.1.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\volo.abp.authorization.abstractions\\9.1.1\\volo.abp.authorization.abstractions.9.1.1.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\volo.abp.autofac\\9.1.1\\volo.abp.autofac.9.1.1.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\volo.abp.automapper\\9.1.1\\volo.abp.automapper.9.1.1.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\volo.abp.backgroundjobs.domain.shared\\9.1.1\\volo.abp.backgroundjobs.domain.shared.9.1.1.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\volo.abp.backgroundworkers\\9.1.1\\volo.abp.backgroundworkers.9.1.1.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\volo.abp.castle.core\\9.1.1\\volo.abp.castle.core.9.1.1.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\volo.abp.core\\9.1.1\\volo.abp.core.9.1.1.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\volo.abp.data\\9.1.1\\volo.abp.data.9.1.1.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\volo.abp.ddd.application.contracts\\9.1.1\\volo.abp.ddd.application.contracts.9.1.1.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\volo.abp.distributedlocking.abstractions\\9.1.1\\volo.abp.distributedlocking.abstractions.9.1.1.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\volo.abp.eventbus\\9.1.1\\volo.abp.eventbus.9.1.1.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\volo.abp.eventbus.abstractions\\9.1.1\\volo.abp.eventbus.abstractions.9.1.1.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\volo.abp.featuremanagement.application.contracts\\9.1.1\\volo.abp.featuremanagement.application.contracts.9.1.1.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\volo.abp.featuremanagement.domain.shared\\9.1.1\\volo.abp.featuremanagement.domain.shared.9.1.1.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\volo.abp.features\\9.1.1\\volo.abp.features.9.1.1.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\volo.abp.guids\\9.1.1\\volo.abp.guids.9.1.1.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\volo.abp.identity.application.contracts\\9.1.1\\volo.abp.identity.application.contracts.9.1.1.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\volo.abp.identity.domain.shared\\9.1.1\\volo.abp.identity.domain.shared.9.1.1.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\volo.abp.json\\9.1.1\\volo.abp.json.9.1.1.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\volo.abp.json.abstractions\\9.1.1\\volo.abp.json.abstractions.9.1.1.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\volo.abp.json.systemtextjson\\9.1.1\\volo.abp.json.systemtextjson.9.1.1.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\volo.abp.localization\\9.1.1\\volo.abp.localization.9.1.1.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\volo.abp.localization.abstractions\\9.1.1\\volo.abp.localization.abstractions.9.1.1.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\volo.abp.multitenancy\\9.1.1\\volo.abp.multitenancy.9.1.1.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\volo.abp.multitenancy.abstractions\\9.1.1\\volo.abp.multitenancy.abstractions.9.1.1.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\volo.abp.objectextending\\9.1.1\\volo.abp.objectextending.9.1.1.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\volo.abp.objectmapping\\9.1.1\\volo.abp.objectmapping.9.1.1.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\volo.abp.permissionmanagement.application.contracts\\9.1.1\\volo.abp.permissionmanagement.application.contracts.9.1.1.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\volo.abp.permissionmanagement.domain.shared\\9.1.1\\volo.abp.permissionmanagement.domain.shared.9.1.1.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\volo.abp.security\\9.1.1\\volo.abp.security.9.1.1.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\volo.abp.settingmanagement.application.contracts\\9.1.1\\volo.abp.settingmanagement.application.contracts.9.1.1.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\volo.abp.settingmanagement.domain.shared\\9.1.1\\volo.abp.settingmanagement.domain.shared.9.1.1.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\volo.abp.settings\\9.1.1\\volo.abp.settings.9.1.1.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\volo.abp.tenantmanagement.application.contracts\\9.1.1\\volo.abp.tenantmanagement.application.contracts.9.1.1.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\volo.abp.tenantmanagement.domain.shared\\9.1.1\\volo.abp.tenantmanagement.domain.shared.9.1.1.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\volo.abp.threading\\9.1.1\\volo.abp.threading.9.1.1.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\volo.abp.timing\\9.1.1\\volo.abp.timing.9.1.1.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\volo.abp.uow\\9.1.1\\volo.abp.uow.9.1.1.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\volo.abp.users.abstractions\\9.1.1\\volo.abp.users.abstractions.9.1.1.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\volo.abp.users.domain.shared\\9.1.1\\volo.abp.users.domain.shared.9.1.1.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\volo.abp.validation\\9.1.1\\volo.abp.validation.9.1.1.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\volo.abp.validation.abstractions\\9.1.1\\volo.abp.validation.abstractions.9.1.1.nupkg.sha512",
|
||||||
|
"C:\\Users\\Admin\\.nuget\\packages\\volo.abp.virtualfilesystem\\9.1.1\\volo.abp.virtualfilesystem.9.1.1.nupkg.sha512"
|
||||||
|
],
|
||||||
|
"logs": []
|
||||||
|
}
|
||||||
@ -4,12 +4,12 @@ global using System;
|
|||||||
global using System.Collections.Generic;
|
global using System.Collections.Generic;
|
||||||
global using System.Linq;
|
global using System.Linq;
|
||||||
global using System.Threading.Tasks;
|
global using System.Threading.Tasks;
|
||||||
global using Lion.AbpPro.BasicManagement;
|
global using JiShe.ServicePro.BasicManagement;
|
||||||
global using Lion.AbpPro.DataDictionaryManagement;
|
global using JiShe.ServicePro.DataDictionaryManagement;
|
||||||
global using Lion.AbpPro.LanguageManagement;
|
global using JiShe.ServicePro.LanguageManagement;
|
||||||
global using Lion.AbpPro.NotificationManagement;
|
global using JiShe.ServicePro.NotificationManagement;
|
||||||
global using JiShe.IOT.FreeSqlRepository;
|
global using JiShe.ServicePro.FreeSqlRepository;
|
||||||
global using JiShe.IOT.Permissions;
|
global using JiShe.ServicePro.Permissions;
|
||||||
global using Microsoft.AspNetCore.Authorization;
|
global using Microsoft.AspNetCore.Authorization;
|
||||||
global using Microsoft.Extensions.Configuration;
|
global using Microsoft.Extensions.Configuration;
|
||||||
global using Volo.Abp.Application.Services;
|
global using Volo.Abp.Application.Services;
|
||||||
@ -0,0 +1,29 @@
|
|||||||
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
|
|
||||||
|
<PropertyGroup>
|
||||||
|
<TargetFramework>net9.0</TargetFramework>
|
||||||
|
<RootNamespace>JiShe.ServicePro</RootNamespace>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<ProjectReference Include="..\JiShe.ServicePro.Domain\JiShe.ServicePro.Domain.csproj"/>
|
||||||
|
<ProjectReference Include="..\JiShe.ServicePro.Application.Contracts\JiShe.ServicePro.Application.Contracts.csproj"/>
|
||||||
|
<ProjectReference Include="..\JiShe.ServicePro.FreeSqlRepository\JiShe.ServicePro.FreeSqlRepository.csproj"/>
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<PackageReference Include="JiShe.ServicePro.BasicManagement.Application"/>
|
||||||
|
<PackageReference Include="JiShe.ServicePro.NotificationManagement.Application"/>
|
||||||
|
<PackageReference Include="JiShe.ServicePro.DataDictionaryManagement.Application"/>
|
||||||
|
<PackageReference Include="JiShe.ServicePro.LanguageManagement.Application"/>
|
||||||
|
<PackageReference Include="JiShe.ServicePro.CodeManagement.Application"/>
|
||||||
|
<PackageReference Include="JiShe.ServicePro.TemplateManagement.Application"/>
|
||||||
|
<PackageReference Include="JiShe.ServicePro.DynamicMenuManagement.Application"/>
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<PackageReference Include="Volo.Abp.BackgroundJobs.HangFire"/>
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
</Project>
|
||||||
@ -1,4 +1,4 @@
|
|||||||
namespace JiShe.IOT.Jobs
|
namespace JiShe.ServicePro.Jobs
|
||||||
{
|
{
|
||||||
public class TestJob : IRecurringJob
|
public class TestJob : IRecurringJob
|
||||||
{
|
{
|
||||||
@ -0,0 +1,2 @@
|
|||||||
|
using System.Runtime.CompilerServices;
|
||||||
|
[assembly:InternalsVisibleToAttribute("JiShe.ServicePro.Application.Tests")]
|
||||||
12
src/JiShe.ServicePro.Application/ServiceProAppService.cs
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
namespace JiShe.ServicePro
|
||||||
|
{
|
||||||
|
/* Inherit your application services from this class.
|
||||||
|
*/
|
||||||
|
public abstract class ServiceProAppService : ApplicationService
|
||||||
|
{
|
||||||
|
protected ServiceProAppService()
|
||||||
|
{
|
||||||
|
LocalizationResource = typeof(ServiceProResource);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -0,0 +1,10 @@
|
|||||||
|
namespace JiShe.ServicePro
|
||||||
|
{
|
||||||
|
public class ServiceProApplicationAutoMapperProfile : Profile
|
||||||
|
{
|
||||||
|
public ServiceProApplicationAutoMapperProfile()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -0,0 +1,30 @@
|
|||||||
|
using JiShe.ServicePro.CodeManagement;
|
||||||
|
using JiShe.ServicePro.DynamicMenuManagement;
|
||||||
|
using JiShe.ServicePro.TemplateManagement;
|
||||||
|
|
||||||
|
namespace JiShe.ServicePro
|
||||||
|
{
|
||||||
|
[DependsOn(
|
||||||
|
typeof(ServiceProDomainModule),
|
||||||
|
typeof(ServiceProApplicationContractsModule),
|
||||||
|
typeof(BasicManagementApplicationModule),
|
||||||
|
typeof(NotificationManagementApplicationModule),
|
||||||
|
typeof(DataDictionaryManagementApplicationModule),
|
||||||
|
typeof(LanguageManagementApplicationModule),
|
||||||
|
typeof(CodeManagementApplicationModule),
|
||||||
|
typeof(TemplateManagementApplicationModule),
|
||||||
|
typeof(DynamicMenuManagementApplicationModule),
|
||||||
|
typeof(ServiceProFreeSqlModule)
|
||||||
|
)]
|
||||||
|
public class ServiceProApplicationModule : AbpModule
|
||||||
|
{
|
||||||
|
public override void ConfigureServices(ServiceConfigurationContext context)
|
||||||
|
{
|
||||||
|
Configure<AbpAutoMapperOptions>(options =>
|
||||||
|
{
|
||||||
|
options.AddMaps<ServiceProApplicationModule>();
|
||||||
|
});
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -0,0 +1,527 @@
|
|||||||
|
{
|
||||||
|
"format": 1,
|
||||||
|
"restore": {
|
||||||
|
"D:\\CodeBase\\MicroService\\IOT\\JiShe.IOT.Admin\\src\\JiShe.ServicePro.Application\\JiShe.ServicePro.Application.csproj": {}
|
||||||
|
},
|
||||||
|
"projects": {
|
||||||
|
"D:\\CodeBase\\MicroService\\IOT\\JiShe.IOT.Admin\\src\\JiShe.ServicePro.Application.Contracts\\JiShe.ServicePro.Application.Contracts.csproj": {
|
||||||
|
"version": "1.0.0",
|
||||||
|
"restore": {
|
||||||
|
"projectUniqueName": "D:\\CodeBase\\MicroService\\IOT\\JiShe.IOT.Admin\\src\\JiShe.ServicePro.Application.Contracts\\JiShe.ServicePro.Application.Contracts.csproj",
|
||||||
|
"projectName": "JiShe.ServicePro.Application.Contracts",
|
||||||
|
"projectPath": "D:\\CodeBase\\MicroService\\IOT\\JiShe.IOT.Admin\\src\\JiShe.ServicePro.Application.Contracts\\JiShe.ServicePro.Application.Contracts.csproj",
|
||||||
|
"packagesPath": "C:\\Users\\Admin\\.nuget\\packages\\",
|
||||||
|
"outputPath": "D:\\CodeBase\\MicroService\\IOT\\JiShe.IOT.Admin\\src\\JiShe.ServicePro.Application.Contracts\\obj\\",
|
||||||
|
"projectStyle": "PackageReference",
|
||||||
|
"fallbackFolders": [
|
||||||
|
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
|
||||||
|
],
|
||||||
|
"configFilePaths": [
|
||||||
|
"D:\\CodeBase\\MicroService\\IOT\\JiShe.IOT.Admin\\NuGet.Config",
|
||||||
|
"C:\\Users\\Admin\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
||||||
|
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
|
||||||
|
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
|
||||||
|
],
|
||||||
|
"originalTargetFrameworks": [
|
||||||
|
"net9.0"
|
||||||
|
],
|
||||||
|
"sources": {
|
||||||
|
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
|
||||||
|
"D:\\CodeBase\\DiyPackage": {},
|
||||||
|
"https://api.nuget.org/v3/index.json": {},
|
||||||
|
"https://api.nuget.org/v3/index.json": {}
|
||||||
|
},
|
||||||
|
"frameworks": {
|
||||||
|
"net9.0": {
|
||||||
|
"targetAlias": "net9.0",
|
||||||
|
"projectReferences": {
|
||||||
|
"D:\\CodeBase\\MicroService\\IOT\\JiShe.IOT.Admin\\src\\JiShe.ServicePro.Domain.Shared\\JiShe.ServicePro.Domain.Shared.csproj": {
|
||||||
|
"projectPath": "D:\\CodeBase\\MicroService\\IOT\\JiShe.IOT.Admin\\src\\JiShe.ServicePro.Domain.Shared\\JiShe.ServicePro.Domain.Shared.csproj"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"warningProperties": {
|
||||||
|
"noWarn": [
|
||||||
|
"NU1504"
|
||||||
|
],
|
||||||
|
"warnAsError": [
|
||||||
|
"NU1605"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"restoreAuditProperties": {
|
||||||
|
"enableAudit": "true",
|
||||||
|
"auditLevel": "low",
|
||||||
|
"auditMode": "direct"
|
||||||
|
},
|
||||||
|
"SdkAnalysisLevel": "9.0.200"
|
||||||
|
},
|
||||||
|
"frameworks": {
|
||||||
|
"net9.0": {
|
||||||
|
"targetAlias": "net9.0",
|
||||||
|
"dependencies": {
|
||||||
|
"JiShe.ServicePro.BasicManagement.Application.Contracts": {
|
||||||
|
"target": "Package",
|
||||||
|
"version": "[9.1.1.909, )"
|
||||||
|
},
|
||||||
|
"JiShe.ServicePro.CodeManagement.Application.Contracts": {
|
||||||
|
"target": "Package",
|
||||||
|
"version": "[9.1.1.909, )"
|
||||||
|
},
|
||||||
|
"JiShe.ServicePro.DataDictionaryManagement.Application.Contracts": {
|
||||||
|
"target": "Package",
|
||||||
|
"version": "[9.1.1.909, )"
|
||||||
|
},
|
||||||
|
"JiShe.ServicePro.DynamicMenuManagement.Application.Contracts": {
|
||||||
|
"target": "Package",
|
||||||
|
"version": "[9.1.1.909, )"
|
||||||
|
},
|
||||||
|
"JiShe.ServicePro.LanguageManagement.Application.Contracts": {
|
||||||
|
"target": "Package",
|
||||||
|
"version": "[9.1.1.909, )"
|
||||||
|
},
|
||||||
|
"JiShe.ServicePro.NotificationManagement.Application.Contracts": {
|
||||||
|
"target": "Package",
|
||||||
|
"version": "[9.1.1.909, )"
|
||||||
|
},
|
||||||
|
"JiShe.ServicePro.TemplateManagement.Application.Contracts": {
|
||||||
|
"target": "Package",
|
||||||
|
"version": "[9.1.1.909, )"
|
||||||
|
},
|
||||||
|
"Volo.Abp.ObjectExtending": {
|
||||||
|
"target": "Package",
|
||||||
|
"version": "[9.1.1, )"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"imports": [
|
||||||
|
"net461",
|
||||||
|
"net462",
|
||||||
|
"net47",
|
||||||
|
"net471",
|
||||||
|
"net472",
|
||||||
|
"net48",
|
||||||
|
"net481"
|
||||||
|
],
|
||||||
|
"assetTargetFallback": true,
|
||||||
|
"warn": true,
|
||||||
|
"frameworkReferences": {
|
||||||
|
"Microsoft.NETCore.App": {
|
||||||
|
"privateAssets": "all"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\9.0.204/PortableRuntimeIdentifierGraph.json"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"D:\\CodeBase\\MicroService\\IOT\\JiShe.IOT.Admin\\src\\JiShe.ServicePro.Application\\JiShe.ServicePro.Application.csproj": {
|
||||||
|
"version": "1.0.0",
|
||||||
|
"restore": {
|
||||||
|
"projectUniqueName": "D:\\CodeBase\\MicroService\\IOT\\JiShe.IOT.Admin\\src\\JiShe.ServicePro.Application\\JiShe.ServicePro.Application.csproj",
|
||||||
|
"projectName": "JiShe.ServicePro.Application",
|
||||||
|
"projectPath": "D:\\CodeBase\\MicroService\\IOT\\JiShe.IOT.Admin\\src\\JiShe.ServicePro.Application\\JiShe.ServicePro.Application.csproj",
|
||||||
|
"packagesPath": "C:\\Users\\Admin\\.nuget\\packages\\",
|
||||||
|
"outputPath": "D:\\CodeBase\\MicroService\\IOT\\JiShe.IOT.Admin\\src\\JiShe.ServicePro.Application\\obj\\",
|
||||||
|
"projectStyle": "PackageReference",
|
||||||
|
"fallbackFolders": [
|
||||||
|
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
|
||||||
|
],
|
||||||
|
"configFilePaths": [
|
||||||
|
"D:\\CodeBase\\MicroService\\IOT\\JiShe.IOT.Admin\\NuGet.Config",
|
||||||
|
"C:\\Users\\Admin\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
||||||
|
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
|
||||||
|
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
|
||||||
|
],
|
||||||
|
"originalTargetFrameworks": [
|
||||||
|
"net9.0"
|
||||||
|
],
|
||||||
|
"sources": {
|
||||||
|
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
|
||||||
|
"D:\\CodeBase\\DiyPackage": {},
|
||||||
|
"https://api.nuget.org/v3/index.json": {},
|
||||||
|
"https://api.nuget.org/v3/index.json": {}
|
||||||
|
},
|
||||||
|
"frameworks": {
|
||||||
|
"net9.0": {
|
||||||
|
"targetAlias": "net9.0",
|
||||||
|
"projectReferences": {
|
||||||
|
"D:\\CodeBase\\MicroService\\IOT\\JiShe.IOT.Admin\\src\\JiShe.ServicePro.Application.Contracts\\JiShe.ServicePro.Application.Contracts.csproj": {
|
||||||
|
"projectPath": "D:\\CodeBase\\MicroService\\IOT\\JiShe.IOT.Admin\\src\\JiShe.ServicePro.Application.Contracts\\JiShe.ServicePro.Application.Contracts.csproj"
|
||||||
|
},
|
||||||
|
"D:\\CodeBase\\MicroService\\IOT\\JiShe.IOT.Admin\\src\\JiShe.ServicePro.Domain\\JiShe.ServicePro.Domain.csproj": {
|
||||||
|
"projectPath": "D:\\CodeBase\\MicroService\\IOT\\JiShe.IOT.Admin\\src\\JiShe.ServicePro.Domain\\JiShe.ServicePro.Domain.csproj"
|
||||||
|
},
|
||||||
|
"D:\\CodeBase\\MicroService\\IOT\\JiShe.IOT.Admin\\src\\JiShe.ServicePro.FreeSqlRepository\\JiShe.ServicePro.FreeSqlRepository.csproj": {
|
||||||
|
"projectPath": "D:\\CodeBase\\MicroService\\IOT\\JiShe.IOT.Admin\\src\\JiShe.ServicePro.FreeSqlRepository\\JiShe.ServicePro.FreeSqlRepository.csproj"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"warningProperties": {
|
||||||
|
"noWarn": [
|
||||||
|
"NU1504"
|
||||||
|
],
|
||||||
|
"warnAsError": [
|
||||||
|
"NU1605"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"restoreAuditProperties": {
|
||||||
|
"enableAudit": "true",
|
||||||
|
"auditLevel": "low",
|
||||||
|
"auditMode": "direct"
|
||||||
|
},
|
||||||
|
"SdkAnalysisLevel": "9.0.200"
|
||||||
|
},
|
||||||
|
"frameworks": {
|
||||||
|
"net9.0": {
|
||||||
|
"targetAlias": "net9.0",
|
||||||
|
"dependencies": {
|
||||||
|
"JiShe.ServicePro.BasicManagement.Application": {
|
||||||
|
"target": "Package",
|
||||||
|
"version": "[9.1.1.909, )"
|
||||||
|
},
|
||||||
|
"JiShe.ServicePro.CodeManagement.Application": {
|
||||||
|
"target": "Package",
|
||||||
|
"version": "[9.1.1.909, )"
|
||||||
|
},
|
||||||
|
"JiShe.ServicePro.DataDictionaryManagement.Application": {
|
||||||
|
"target": "Package",
|
||||||
|
"version": "[9.1.1.909, )"
|
||||||
|
},
|
||||||
|
"JiShe.ServicePro.DynamicMenuManagement.Application": {
|
||||||
|
"target": "Package",
|
||||||
|
"version": "[9.1.1.909, )"
|
||||||
|
},
|
||||||
|
"JiShe.ServicePro.LanguageManagement.Application": {
|
||||||
|
"target": "Package",
|
||||||
|
"version": "[9.1.1.909, )"
|
||||||
|
},
|
||||||
|
"JiShe.ServicePro.NotificationManagement.Application": {
|
||||||
|
"target": "Package",
|
||||||
|
"version": "[9.1.1.909, )"
|
||||||
|
},
|
||||||
|
"JiShe.ServicePro.TemplateManagement.Application": {
|
||||||
|
"target": "Package",
|
||||||
|
"version": "[9.1.1.909, )"
|
||||||
|
},
|
||||||
|
"Volo.Abp.BackgroundJobs.HangFire": {
|
||||||
|
"target": "Package",
|
||||||
|
"version": "[9.1.1, )"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"imports": [
|
||||||
|
"net461",
|
||||||
|
"net462",
|
||||||
|
"net47",
|
||||||
|
"net471",
|
||||||
|
"net472",
|
||||||
|
"net48",
|
||||||
|
"net481"
|
||||||
|
],
|
||||||
|
"assetTargetFallback": true,
|
||||||
|
"warn": true,
|
||||||
|
"frameworkReferences": {
|
||||||
|
"Microsoft.NETCore.App": {
|
||||||
|
"privateAssets": "all"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\9.0.204/PortableRuntimeIdentifierGraph.json"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"D:\\CodeBase\\MicroService\\IOT\\JiShe.IOT.Admin\\src\\JiShe.ServicePro.Domain.Shared\\JiShe.ServicePro.Domain.Shared.csproj": {
|
||||||
|
"version": "1.0.0",
|
||||||
|
"restore": {
|
||||||
|
"projectUniqueName": "D:\\CodeBase\\MicroService\\IOT\\JiShe.IOT.Admin\\src\\JiShe.ServicePro.Domain.Shared\\JiShe.ServicePro.Domain.Shared.csproj",
|
||||||
|
"projectName": "JiShe.ServicePro.Domain.Shared",
|
||||||
|
"projectPath": "D:\\CodeBase\\MicroService\\IOT\\JiShe.IOT.Admin\\src\\JiShe.ServicePro.Domain.Shared\\JiShe.ServicePro.Domain.Shared.csproj",
|
||||||
|
"packagesPath": "C:\\Users\\Admin\\.nuget\\packages\\",
|
||||||
|
"outputPath": "D:\\CodeBase\\MicroService\\IOT\\JiShe.IOT.Admin\\src\\JiShe.ServicePro.Domain.Shared\\obj\\",
|
||||||
|
"projectStyle": "PackageReference",
|
||||||
|
"fallbackFolders": [
|
||||||
|
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
|
||||||
|
],
|
||||||
|
"configFilePaths": [
|
||||||
|
"D:\\CodeBase\\MicroService\\IOT\\JiShe.IOT.Admin\\NuGet.Config",
|
||||||
|
"C:\\Users\\Admin\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
||||||
|
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
|
||||||
|
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
|
||||||
|
],
|
||||||
|
"originalTargetFrameworks": [
|
||||||
|
"net9.0"
|
||||||
|
],
|
||||||
|
"sources": {
|
||||||
|
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
|
||||||
|
"D:\\CodeBase\\DiyPackage": {},
|
||||||
|
"https://api.nuget.org/v3/index.json": {},
|
||||||
|
"https://api.nuget.org/v3/index.json": {}
|
||||||
|
},
|
||||||
|
"frameworks": {
|
||||||
|
"net9.0": {
|
||||||
|
"targetAlias": "net9.0",
|
||||||
|
"projectReferences": {}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"warningProperties": {
|
||||||
|
"noWarn": [
|
||||||
|
"NU1504"
|
||||||
|
],
|
||||||
|
"warnAsError": [
|
||||||
|
"NU1605"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"restoreAuditProperties": {
|
||||||
|
"enableAudit": "true",
|
||||||
|
"auditLevel": "low",
|
||||||
|
"auditMode": "direct"
|
||||||
|
},
|
||||||
|
"SdkAnalysisLevel": "9.0.200"
|
||||||
|
},
|
||||||
|
"frameworks": {
|
||||||
|
"net9.0": {
|
||||||
|
"targetAlias": "net9.0",
|
||||||
|
"dependencies": {
|
||||||
|
"JiShe.ServicePro.BasicManagement.Domain.Shared": {
|
||||||
|
"target": "Package",
|
||||||
|
"version": "[9.1.1.909, )"
|
||||||
|
},
|
||||||
|
"JiShe.ServicePro.CodeManagement.Domain.Shared": {
|
||||||
|
"target": "Package",
|
||||||
|
"version": "[9.1.1.909, )"
|
||||||
|
},
|
||||||
|
"JiShe.ServicePro.Core": {
|
||||||
|
"target": "Package",
|
||||||
|
"version": "[9.1.1.909, )"
|
||||||
|
},
|
||||||
|
"JiShe.ServicePro.DataDictionaryManagement.Domain.Shared": {
|
||||||
|
"target": "Package",
|
||||||
|
"version": "[9.1.1.909, )"
|
||||||
|
},
|
||||||
|
"JiShe.ServicePro.DynamicMenuManagement.Domain.Shared": {
|
||||||
|
"target": "Package",
|
||||||
|
"version": "[9.1.1.909, )"
|
||||||
|
},
|
||||||
|
"JiShe.ServicePro.LanguageManagement.Domain.Shared": {
|
||||||
|
"target": "Package",
|
||||||
|
"version": "[9.1.1.909, )"
|
||||||
|
},
|
||||||
|
"JiShe.ServicePro.NotificationManagement.Domain.Shared": {
|
||||||
|
"target": "Package",
|
||||||
|
"version": "[9.1.1.909, )"
|
||||||
|
},
|
||||||
|
"JiShe.ServicePro.TemplateManagement.Domain.Shared": {
|
||||||
|
"target": "Package",
|
||||||
|
"version": "[9.1.1.909, )"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"imports": [
|
||||||
|
"net461",
|
||||||
|
"net462",
|
||||||
|
"net47",
|
||||||
|
"net471",
|
||||||
|
"net472",
|
||||||
|
"net48",
|
||||||
|
"net481"
|
||||||
|
],
|
||||||
|
"assetTargetFallback": true,
|
||||||
|
"warn": true,
|
||||||
|
"frameworkReferences": {
|
||||||
|
"Microsoft.NETCore.App": {
|
||||||
|
"privateAssets": "all"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\9.0.204/PortableRuntimeIdentifierGraph.json"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"D:\\CodeBase\\MicroService\\IOT\\JiShe.IOT.Admin\\src\\JiShe.ServicePro.Domain\\JiShe.ServicePro.Domain.csproj": {
|
||||||
|
"version": "1.0.0",
|
||||||
|
"restore": {
|
||||||
|
"projectUniqueName": "D:\\CodeBase\\MicroService\\IOT\\JiShe.IOT.Admin\\src\\JiShe.ServicePro.Domain\\JiShe.ServicePro.Domain.csproj",
|
||||||
|
"projectName": "JiShe.ServicePro.Domain",
|
||||||
|
"projectPath": "D:\\CodeBase\\MicroService\\IOT\\JiShe.IOT.Admin\\src\\JiShe.ServicePro.Domain\\JiShe.ServicePro.Domain.csproj",
|
||||||
|
"packagesPath": "C:\\Users\\Admin\\.nuget\\packages\\",
|
||||||
|
"outputPath": "D:\\CodeBase\\MicroService\\IOT\\JiShe.IOT.Admin\\src\\JiShe.ServicePro.Domain\\obj\\",
|
||||||
|
"projectStyle": "PackageReference",
|
||||||
|
"fallbackFolders": [
|
||||||
|
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
|
||||||
|
],
|
||||||
|
"configFilePaths": [
|
||||||
|
"D:\\CodeBase\\MicroService\\IOT\\JiShe.IOT.Admin\\NuGet.Config",
|
||||||
|
"C:\\Users\\Admin\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
||||||
|
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
|
||||||
|
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
|
||||||
|
],
|
||||||
|
"originalTargetFrameworks": [
|
||||||
|
"net9.0"
|
||||||
|
],
|
||||||
|
"sources": {
|
||||||
|
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
|
||||||
|
"D:\\CodeBase\\DiyPackage": {},
|
||||||
|
"https://api.nuget.org/v3/index.json": {},
|
||||||
|
"https://api.nuget.org/v3/index.json": {}
|
||||||
|
},
|
||||||
|
"frameworks": {
|
||||||
|
"net9.0": {
|
||||||
|
"targetAlias": "net9.0",
|
||||||
|
"projectReferences": {
|
||||||
|
"D:\\CodeBase\\MicroService\\IOT\\JiShe.IOT.Admin\\src\\JiShe.ServicePro.Domain.Shared\\JiShe.ServicePro.Domain.Shared.csproj": {
|
||||||
|
"projectPath": "D:\\CodeBase\\MicroService\\IOT\\JiShe.IOT.Admin\\src\\JiShe.ServicePro.Domain.Shared\\JiShe.ServicePro.Domain.Shared.csproj"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"warningProperties": {
|
||||||
|
"noWarn": [
|
||||||
|
"NU1504"
|
||||||
|
],
|
||||||
|
"warnAsError": [
|
||||||
|
"NU1605"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"restoreAuditProperties": {
|
||||||
|
"enableAudit": "true",
|
||||||
|
"auditLevel": "low",
|
||||||
|
"auditMode": "direct"
|
||||||
|
},
|
||||||
|
"SdkAnalysisLevel": "9.0.200"
|
||||||
|
},
|
||||||
|
"frameworks": {
|
||||||
|
"net9.0": {
|
||||||
|
"targetAlias": "net9.0",
|
||||||
|
"dependencies": {
|
||||||
|
"JiShe.ServicePro.BasicManagement.Domain": {
|
||||||
|
"target": "Package",
|
||||||
|
"version": "[9.1.1.909, )"
|
||||||
|
},
|
||||||
|
"JiShe.ServicePro.CodeManagement.Domain": {
|
||||||
|
"target": "Package",
|
||||||
|
"version": "[9.1.1.909, )"
|
||||||
|
},
|
||||||
|
"JiShe.ServicePro.DataDictionaryManagement.Domain": {
|
||||||
|
"target": "Package",
|
||||||
|
"version": "[9.1.1.909, )"
|
||||||
|
},
|
||||||
|
"JiShe.ServicePro.DynamicMenuManagement.Domain": {
|
||||||
|
"target": "Package",
|
||||||
|
"version": "[9.1.1.909, )"
|
||||||
|
},
|
||||||
|
"JiShe.ServicePro.LanguageManagement.Domain": {
|
||||||
|
"target": "Package",
|
||||||
|
"version": "[9.1.1.909, )"
|
||||||
|
},
|
||||||
|
"JiShe.ServicePro.NotificationManagement.Domain": {
|
||||||
|
"target": "Package",
|
||||||
|
"version": "[9.1.1.909, )"
|
||||||
|
},
|
||||||
|
"JiShe.ServicePro.TemplateManagement.Domain": {
|
||||||
|
"target": "Package",
|
||||||
|
"version": "[9.1.1.909, )"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"imports": [
|
||||||
|
"net461",
|
||||||
|
"net462",
|
||||||
|
"net47",
|
||||||
|
"net471",
|
||||||
|
"net472",
|
||||||
|
"net48",
|
||||||
|
"net481"
|
||||||
|
],
|
||||||
|
"assetTargetFallback": true,
|
||||||
|
"warn": true,
|
||||||
|
"frameworkReferences": {
|
||||||
|
"Microsoft.NETCore.App": {
|
||||||
|
"privateAssets": "all"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\9.0.204/PortableRuntimeIdentifierGraph.json"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"D:\\CodeBase\\MicroService\\IOT\\JiShe.IOT.Admin\\src\\JiShe.ServicePro.FreeSqlRepository\\JiShe.ServicePro.FreeSqlRepository.csproj": {
|
||||||
|
"version": "1.0.0",
|
||||||
|
"restore": {
|
||||||
|
"projectUniqueName": "D:\\CodeBase\\MicroService\\IOT\\JiShe.IOT.Admin\\src\\JiShe.ServicePro.FreeSqlRepository\\JiShe.ServicePro.FreeSqlRepository.csproj",
|
||||||
|
"projectName": "JiShe.ServicePro.FreeSqlRepository",
|
||||||
|
"projectPath": "D:\\CodeBase\\MicroService\\IOT\\JiShe.IOT.Admin\\src\\JiShe.ServicePro.FreeSqlRepository\\JiShe.ServicePro.FreeSqlRepository.csproj",
|
||||||
|
"packagesPath": "C:\\Users\\Admin\\.nuget\\packages\\",
|
||||||
|
"outputPath": "D:\\CodeBase\\MicroService\\IOT\\JiShe.IOT.Admin\\src\\JiShe.ServicePro.FreeSqlRepository\\obj\\",
|
||||||
|
"projectStyle": "PackageReference",
|
||||||
|
"fallbackFolders": [
|
||||||
|
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
|
||||||
|
],
|
||||||
|
"configFilePaths": [
|
||||||
|
"D:\\CodeBase\\MicroService\\IOT\\JiShe.IOT.Admin\\NuGet.Config",
|
||||||
|
"C:\\Users\\Admin\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
||||||
|
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
|
||||||
|
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
|
||||||
|
],
|
||||||
|
"originalTargetFrameworks": [
|
||||||
|
"net9.0"
|
||||||
|
],
|
||||||
|
"sources": {
|
||||||
|
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
|
||||||
|
"D:\\CodeBase\\DiyPackage": {},
|
||||||
|
"https://api.nuget.org/v3/index.json": {},
|
||||||
|
"https://api.nuget.org/v3/index.json": {}
|
||||||
|
},
|
||||||
|
"frameworks": {
|
||||||
|
"net9.0": {
|
||||||
|
"targetAlias": "net9.0",
|
||||||
|
"projectReferences": {
|
||||||
|
"D:\\CodeBase\\MicroService\\IOT\\JiShe.IOT.Admin\\src\\JiShe.ServicePro.Domain\\JiShe.ServicePro.Domain.csproj": {
|
||||||
|
"projectPath": "D:\\CodeBase\\MicroService\\IOT\\JiShe.IOT.Admin\\src\\JiShe.ServicePro.Domain\\JiShe.ServicePro.Domain.csproj"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"warningProperties": {
|
||||||
|
"noWarn": [
|
||||||
|
"NU1504"
|
||||||
|
],
|
||||||
|
"warnAsError": [
|
||||||
|
"NU1605"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"restoreAuditProperties": {
|
||||||
|
"enableAudit": "true",
|
||||||
|
"auditLevel": "low",
|
||||||
|
"auditMode": "direct"
|
||||||
|
},
|
||||||
|
"SdkAnalysisLevel": "9.0.200"
|
||||||
|
},
|
||||||
|
"frameworks": {
|
||||||
|
"net9.0": {
|
||||||
|
"targetAlias": "net9.0",
|
||||||
|
"dependencies": {
|
||||||
|
"FreeSql": {
|
||||||
|
"target": "Package",
|
||||||
|
"version": "[3.5.104, )"
|
||||||
|
},
|
||||||
|
"FreeSql.Provider.MysqlConnector": {
|
||||||
|
"target": "Package",
|
||||||
|
"version": "[3.5.104, )"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"imports": [
|
||||||
|
"net461",
|
||||||
|
"net462",
|
||||||
|
"net47",
|
||||||
|
"net471",
|
||||||
|
"net472",
|
||||||
|
"net48",
|
||||||
|
"net481"
|
||||||
|
],
|
||||||
|
"assetTargetFallback": true,
|
||||||
|
"warn": true,
|
||||||
|
"frameworkReferences": {
|
||||||
|
"Microsoft.NETCore.App": {
|
||||||
|
"privateAssets": "all"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\9.0.204/PortableRuntimeIdentifierGraph.json"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||