redis 工作正常
编译重启后大概率就会出现语言加载问题 这是 baseSet源码 地址Deleted 感谢您!
namespace QRSPC.AdministrationService;
[DependsOn( typeof(AbpAuditLoggingEntityFrameworkCoreModule), typeof(TextTemplateManagementEntityFrameworkCoreModule), typeof(SaasEntityFrameworkCoreModule), typeof(BlobStoringDatabaseEntityFrameworkCoreModule), typeof(AbpPermissionManagementEntityFrameworkCoreModule), typeof(AbpFeatureManagementEntityFrameworkCoreModule), typeof(AbpSettingManagementEntityFrameworkCoreModule), typeof(LanguageManagementEntityFrameworkCoreModule), typeof(AbpEntityFrameworkCoreMySQLPomeloModule), typeof(AbpOpenIddictProDomainSharedModule), typeof(TextTemplateManagementApplicationModule), typeof(TextTemplateManagementHttpApiModule), typeof(LeptonXThemeManagementApplicationModule), typeof(LeptonXThemeManagementHttpApiModule), typeof(AbpAspNetCoreMvcUiMultiTenancyModule), typeof(QRSPCAdministrationServiceContractsModule), typeof(AbpPermissionManagementApplicationModule), typeof(AbpPermissionManagementHttpApiModule), typeof(AbpPermissionManagementDomainIdentityModule), typeof(AbpPermissionManagementDomainOpenIddictModule), typeof(AbpFeatureManagementApplicationModule), typeof(AbpFeatureManagementHttpApiModule), typeof(AbpSettingManagementApplicationModule), typeof(AbpSettingManagementHttpApiModule), typeof(AbpAutofacModule), typeof(AbpAspNetCoreSerilogModule), typeof(AbpSwashbuckleModule), typeof(AbpEventBusRabbitMqModule), typeof(AbpBackgroundJobsRabbitMqModule), typeof(AbpCachingStackExchangeRedisModule), typeof(AbpDistributedLockingModule), typeof(AbpAspNetCoreAuthenticationJwtBearerModule), typeof(AbpIdentityHttpApiClientModule), typeof(AbpStudioClientAspNetCoreModule) )] 这是administraiton 的依赖模块 是否要加上LanguageManagementDomainModule的引用?
您好!这是我排查及现有的项目结构 麻烦您帮忙看看 这是 BaseSetService 的Module 看上去没有直接引用 LanguageManagementDomainModule, using Localization.Resources.AbpUi; using QRSPC.BaseSetService.Localization; using Volo.Abp.Application; using Volo.Abp.Authorization; using Volo.Abp.Commercial.SuiteTemplates; using Volo.Abp.Domain; using Volo.Abp.Http.Client; using Volo.Abp.Localization; using Volo.Abp.Localization.ExceptionHandling; using Volo.Abp.Modularity; using Volo.Abp.UI; using Volo.Abp.Validation; using Volo.Abp.Validation.Localization; using Volo.Abp.VirtualFileSystem;
namespace QRSPC.BaseSetService;
[DependsOn( typeof(AbpValidationModule), typeof(AbpUiModule), typeof(AbpAuthorizationAbstractionsModule), typeof(VoloAbpCommercialSuiteTemplatesModule), typeof(AbpDddApplicationContractsModule), typeof(AbpDddDomainSharedModule) )] public class QRSPCBaseSetServiceContractsModule : AbpModule { public override void ConfigureServices(ServiceConfigurationContext context) { Configure<AbpVirtualFileSystemOptions>(options => { options.FileSets.AddEmbedded<QRSPCBaseSetServiceContractsModule>(); });
Configure<AbpLocalizationOptions>(options =>
{
options.Resources
.Add<BaseSetServiceResource>("en")
.AddBaseTypes(typeof(AbpValidationResource), typeof(AbpUiResource))
.AddVirtualJson("/Localization/BaseSetService");
});
Configure<AbpExceptionLocalizationOptions>(options =>
{
options.MapCodeNamespace("BaseSetService", typeof(BaseSetServiceResource));
});
}
}
,另外 检查过数据库 当语言文本管理 资源中不存在BaseSetService的资源时数据库数据也是没有的,
这是我的解决方案的结构
[maliming] said: 它就是应该访问4200, 这没有问题, 请检查你的反向代理配置, 它没有对css或者js生效, 我对此没有太多经验
帮忙问下有经验的工程师 谢谢 在线等 急!!!