From dcf55be524e48902111b4f40610cd223a7f50af0 Mon Sep 17 00:00:00 2001 From: youngq Date: Wed, 18 Dec 2024 19:20:55 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=95=B0=E6=8D=AE=E5=BA=93?= =?UTF-8?q?=E8=BF=9E=E6=8E=A5=E5=AD=97=E7=AC=A6=E4=B8=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- AI.Api/AntDeploy.json | 17 +++++++++++++---- AI.Api/appsettings.json | 14 +++++++++++++- 2 files changed, 26 insertions(+), 5 deletions(-) diff --git a/AI.Api/AntDeploy.json b/AI.Api/AntDeploy.json index 4866778..19a1df0 100644 --- a/AI.Api/AntDeploy.json +++ b/AI.Api/AntDeploy.json @@ -25,8 +25,8 @@ { "UserName": "marking", "Pwd": "0610DBF49053E6779393A74BE1ED4FD2", - "Host": "47.109.67.254", - "NickName": "marking", + "Host": "47.109.67.254:10022", + "NickName": "marking001", "IIsFireUrl": null, "DockerFireUrl": "", "WindowsServiceFireUrl": null, @@ -115,11 +115,11 @@ "DockerConfig": { "Prot": "5108:5108", "AspNetCoreEnv": "", - "LastEnvName": "2.9", + "LastEnvName": "marking", "RemoveDaysFromPublished": "10", "WorkDir": "", "Volume": "", - "Other": "--name walle-api -e ASPNETCORE_ENVIRONMENT=Development -e TZ=Asia/Shanghai", + "Other": "--name walle-api -e ASPNETCORE_ENVIRONMENT=Production -e TZ=Asia/Shanghai", "EnvPairList": [ { "EnvName": "2.9", @@ -129,6 +129,15 @@ "DockerEnvName": "", "DockerVolume": "", "DockerOther": "--name walle-api -e ASPNETCORE_ENVIRONMENT=Development -e TZ=Asia/Shanghai" + }, + { + "EnvName": "marking", + "ConfigName": null, + "LinuxEnvParam": null, + "DockerPort": "5108:5108", + "DockerEnvName": "", + "DockerVolume": "", + "DockerOther": "--name walle-api -e ASPNETCORE_ENVIRONMENT=Production -e TZ=Asia/Shanghai" } ] }, diff --git a/AI.Api/appsettings.json b/AI.Api/appsettings.json index 10f68b8..ffa36bf 100644 --- a/AI.Api/appsettings.json +++ b/AI.Api/appsettings.json @@ -5,5 +5,17 @@ "Microsoft.AspNetCore": "Warning" } }, - "AllowedHosts": "*" + "AllowedHosts": "*", + + "ConnectionStrings": { + "walle": "Database=walle;Server=rm-2vc20nd3d11g0oh6g.rwlb.cn-chengdu.rds.aliyuncs.com;Port=3306;Uid=marking;Pwd=poiuytPOIUYT098765)(*&^%;AllowZeroDateTime=True;ConvertZeroDateTime=True;", + "usercenter": "Database=usercenter;Server=rm-2vc20nd3d11g0oh6g.rwlb.cn-chengdu.rds.aliyuncs.com;Port=3306;Uid=marking;Pwd=poiuytPOIUYT098765)(*&^%;AllowZeroDateTime=True;ConvertZeroDateTime=True;" + }, + "Jwt": { + "SecretKey": "apDbztyqjSNuvWnezhbdUxduhDidZbF897t2uTJs53RMdY9Cai7eexavBhka3HN6mcTe9oohjFg6bNffRRkcfMqnVKNBnmyPzkRgNopHGJAL7KMwkeZdZ7BaWnT57jCi", + "Issuer": "AI.Api", + "Audience": "AIClient", + // 过期 秒 + "Expires": 108000 + } }