diff --git a/host/JiShe.IoT.HttpApi.Host/Program.cs b/host/JiShe.IoT.HttpApi.Host/Program.cs index 778e170..e2eae2e 100644 --- a/host/JiShe.IoT.HttpApi.Host/Program.cs +++ b/host/JiShe.IoT.HttpApi.Host/Program.cs @@ -1,4 +1,5 @@ using Microsoft.Extensions.Configuration; +using static Volo.Abp.Identity.Settings.IdentitySettingNames; namespace JiShe.IoT; @@ -7,7 +8,8 @@ public class Program public static async Task Main(string[] args) { try - { + { + //string text = Convert.ToBase64String(Encoding.UTF8.GetBytes("admin:admin123")); Log.Information("JiShe.IoT.HttpApi.Host."); var builder = WebApplication.CreateBuilder(args); builder.Host diff --git a/host/JiShe.IoT.HttpApi.Host/configs/appsettings.Development.json b/host/JiShe.IoT.HttpApi.Host/configs/appsettings.Development.json index 4b54789..ac8ab52 100644 --- a/host/JiShe.IoT.HttpApi.Host/configs/appsettings.Development.json +++ b/host/JiShe.IoT.HttpApi.Host/configs/appsettings.Development.json @@ -32,8 +32,8 @@ "TaskThreadCount": -1 }, "Pulsar": { - "ServiceUrl": "pulsar://47.110.60.222:9093", - "WebUrl": "http://47.110.60.222:9094", + "ServiceUrl": "pulsar://47.110.53.196:9093", + "WebUrl": "http://47.110.53.196:9094", "UserName": "admin", "TenantName": "1YMVZZkAkRArjxSD8457", "Namespace": "OneNET", @@ -45,7 +45,7 @@ "OperationTimeout": 30, "KeepAliveInterval": 30, "TaskThreadCount": 1, - "IsSubscriber": true, + "IsSubscriber": true, "DefaultPartitions": 16, "DefaultBundles": 16, "EnableAutoCreation": true, //开启自动创建Topic