Compare commits
No commits in common. "a2a765bf0e0a6635f3d4766a4ba0f79bdaf2a5df" and "00791b0802dd5641e0b2c4c8b4e6e83fea3ba178" have entirely different histories.
a2a765bf0e
...
00791b0802
@ -1 +1 @@
|
||||
Subproject commit f296cf77d7a1d7cb3ee9d7a66ede8f0a537d7944
|
||||
Subproject commit 2f88bdeb9ef4c25bcc14ca85743857f6b96ce986
|
||||
@ -1,3 +1,7 @@
|
||||
using Microsoft.AspNetCore.Server.Kestrel.Core;
|
||||
using Microsoft.Extensions.Configuration;
|
||||
using static Volo.Abp.Identity.Settings.IdentitySettingNames;
|
||||
|
||||
namespace JiShe.IoT;
|
||||
|
||||
public class Program
|
||||
@ -6,11 +10,6 @@ public class Program
|
||||
{
|
||||
try
|
||||
{
|
||||
//var options = new Yitter.IdGenerator.IdGeneratorOptions(2);
|
||||
//Yitter.IdGenerator.YitIdHelper.SetIdGenerator(options);
|
||||
//long nanosecondsFromSnowflakeId = ServicePro.Core.TimestampHelper.NextUnixNanosecondsFromSnowflakeId();
|
||||
//long nanosecondsDateOffset = ServicePro.Core.TimestampHelper.ToUnixTimeNanoseconds(DateTimeOffset.UtcNow);
|
||||
|
||||
//string text = Convert.ToBase64String(Encoding.UTF8.GetBytes("admin:admin123"));
|
||||
Log.Information("JiShe.IoT.HttpApi.Host.");
|
||||
var builder = WebApplication.CreateBuilder(args);
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
{
|
||||
"App": {
|
||||
"SelfUrl": "http://localhost:44315",
|
||||
"CorsOrigins": "https://*.IoT.com,http://localhost:4200,http://localhost:3100,http://localhost:80,http://10.10.90.3:4200"
|
||||
"CorsOrigins": "https://*.IoT.com,http://localhost:4200,http://localhost:3100,http://localhost:80,http://10.10.70.11:4200"
|
||||
},
|
||||
"ConnectionStrings": {
|
||||
"Default": "Data Source=47.110.53.196;Port=13306;Database=JiSheIoTProDB;uid=root;pwd=JiShe!aqG#5kGgh&0;charset=utf8mb4;Allow User Variables=true;AllowLoadLocalInfile=true;",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user