修复bug
This commit is contained in:
parent
ce768e005c
commit
8051171b82
@ -1,4 +1,5 @@
|
|||||||
using Microsoft.Extensions.Configuration;
|
using Microsoft.Extensions.Configuration;
|
||||||
|
using static Volo.Abp.Identity.Settings.IdentitySettingNames;
|
||||||
|
|
||||||
namespace JiShe.IoT;
|
namespace JiShe.IoT;
|
||||||
|
|
||||||
@ -7,7 +8,8 @@ public class Program
|
|||||||
public static async Task<int> Main(string[] args)
|
public static async Task<int> Main(string[] args)
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
//string text = Convert.ToBase64String(Encoding.UTF8.GetBytes("admin:admin123"));
|
||||||
Log.Information("JiShe.IoT.HttpApi.Host.");
|
Log.Information("JiShe.IoT.HttpApi.Host.");
|
||||||
var builder = WebApplication.CreateBuilder(args);
|
var builder = WebApplication.CreateBuilder(args);
|
||||||
builder.Host
|
builder.Host
|
||||||
|
|||||||
@ -32,8 +32,8 @@
|
|||||||
"TaskThreadCount": -1
|
"TaskThreadCount": -1
|
||||||
},
|
},
|
||||||
"Pulsar": {
|
"Pulsar": {
|
||||||
"ServiceUrl": "pulsar://47.110.60.222:9093",
|
"ServiceUrl": "pulsar://47.110.53.196:9093",
|
||||||
"WebUrl": "http://47.110.60.222:9094",
|
"WebUrl": "http://47.110.53.196:9094",
|
||||||
"UserName": "admin",
|
"UserName": "admin",
|
||||||
"TenantName": "1YMVZZkAkRArjxSD8457",
|
"TenantName": "1YMVZZkAkRArjxSD8457",
|
||||||
"Namespace": "OneNET",
|
"Namespace": "OneNET",
|
||||||
@ -45,7 +45,7 @@
|
|||||||
"OperationTimeout": 30,
|
"OperationTimeout": 30,
|
||||||
"KeepAliveInterval": 30,
|
"KeepAliveInterval": 30,
|
||||||
"TaskThreadCount": 1,
|
"TaskThreadCount": 1,
|
||||||
"IsSubscriber": true,
|
"IsSubscriber": true,
|
||||||
"DefaultPartitions": 16,
|
"DefaultPartitions": 16,
|
||||||
"DefaultBundles": 16,
|
"DefaultBundles": 16,
|
||||||
"EnableAutoCreation": true, //开启自动创建Topic
|
"EnableAutoCreation": true, //开启自动创建Topic
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user