diff --git a/QRCodeService/Models/GetQRCodeModel.cs b/QRCodeService/Models/GetQRCodeModel.cs deleted file mode 100644 index 8a8dd93..0000000 --- a/QRCodeService/Models/GetQRCodeModel.cs +++ /dev/null @@ -1,13 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace QRCodeService.Models -{ - public class GetQRCodeModel:CheckSignModel - { - public string ShortCode { get; set; } - } -} diff --git a/QRCodeService/Program.cs b/QRCodeService/Program.cs index af28239..6c791ff 100644 --- a/QRCodeService/Program.cs +++ b/QRCodeService/Program.cs @@ -19,6 +19,7 @@ namespace QRCodeService public static IHostBuilder CreateHostBuilder(string[] args) => Host.CreateDefaultBuilder(args) .UseSerilog() + .UseSystemd() .ConfigureWebHostDefaults(webBuilder => { webBuilder.UseStartup(); diff --git a/QRCodeService/QRCodeService.csproj b/QRCodeService/QRCodeService.csproj index aa566e7..30f3b49 100644 --- a/QRCodeService/QRCodeService.csproj +++ b/QRCodeService/QRCodeService.csproj @@ -31,6 +31,7 @@ runtime; build; native; contentfiles; analyzers; buildtransitive + diff --git a/QRCodeService/appsettings.Production.json b/QRCodeService/appsettings.Production.json index b84fdfc..7be29f7 100644 --- a/QRCodeService/appsettings.Production.json +++ b/QRCodeService/appsettings.Production.json @@ -1,6 +1,9 @@ { "Hosting": { - "BaseUrl": "http://qrcode.bobandjuly.cyou/", + "BaseUrl": "https://dwz.nbjs.gov.cn/", "IsForwarded": true + }, + "ConnectionStrings": { + "Default": "server=localhost;user=kuanyi;password=passwd;database=qrcode" } } \ No newline at end of file