From 8051171b82ae0fc551ba41f68c4031d5b35c8cf8 Mon Sep 17 00:00:00 2001 From: ChenYi <296215406@outlook.com> Date: Wed, 20 Aug 2025 11:26:00 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- host/JiShe.IoT.HttpApi.Host/Program.cs | 4 +++- .../configs/appsettings.Development.json | 6 +++--- 2 files changed, 6 insertions(+), 4 deletions(-) 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