Browse Source

修改配置

denny 2 years ago
parent
commit
053cedc4f2
2 changed files with 9 additions and 0 deletions
  1. 2 0
      src/WingCloudServer.csproj
  2. 7 0
      src/appsettings.json

+ 2 - 0
src/WingCloudServer.csproj

@@ -16,6 +16,8 @@
     <PackageReference Include="Serilog.Sinks.MongoDB" Version="5.1.1" />
     <PackageReference Include="MongoDB.Driver" Version="2.14.1" />
     <PackageReference Include="Emgu.CV" Version="4.2.0.3662" />
+    <PackageReference Include="MailKit" Version="3.3.0" />
+    <PackageReference Include="MimeKit" Version="3.3.0" />
     
     <Reference Include="AI.Common">
       <HintPath>..\AIDiagnosis\AI.Common.dll</HintPath>

+ 7 - 0
src/appsettings.json

@@ -79,5 +79,12 @@
   },
   "FastServer": {
     "ServerHost": "http://*:9304/"
+  },
+  "Email": {
+    "EmailUserName": "vcloud@vinno.com",
+    "EmailUserPassword": "S1VVn0a218",
+    "MailHost": "host.vinno.com",
+    "SmtpPort": 465,
+    "UseSSL": true
   }
 }