Compare commits
2 Commits
00791b0802
...
a2a765bf0e
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a2a765bf0e | ||
|
|
4136c6f945 |
@ -1 +1 @@
|
|||||||
Subproject commit 2f88bdeb9ef4c25bcc14ca85743857f6b96ce986
|
Subproject commit f296cf77d7a1d7cb3ee9d7a66ede8f0a537d7944
|
||||||
@ -1,7 +1,3 @@
|
|||||||
using Microsoft.AspNetCore.Server.Kestrel.Core;
|
|
||||||
using Microsoft.Extensions.Configuration;
|
|
||||||
using static Volo.Abp.Identity.Settings.IdentitySettingNames;
|
|
||||||
|
|
||||||
namespace JiShe.IoT;
|
namespace JiShe.IoT;
|
||||||
|
|
||||||
public class Program
|
public class Program
|
||||||
@ -10,6 +6,11 @@ public class Program
|
|||||||
{
|
{
|
||||||
try
|
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"));
|
//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);
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"App": {
|
"App": {
|
||||||
"SelfUrl": "http://localhost:44315",
|
"SelfUrl": "http://localhost:44315",
|
||||||
"CorsOrigins": "https://*.IoT.com,http://localhost:4200,http://localhost:3100,http://localhost:80,http://10.10.70.11:4200"
|
"CorsOrigins": "https://*.IoT.com,http://localhost:4200,http://localhost:3100,http://localhost:80,http://10.10.90.3:4200"
|
||||||
},
|
},
|
||||||
"ConnectionStrings": {
|
"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;",
|
"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