From a651adb3b45643fd075b831877dba17650a00be1 Mon Sep 17 00:00:00 2001 From: hang <872297557@qq.com> Date: Wed, 23 Nov 2022 16:39:40 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20=E5=85=A5=E7=BB=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- IRaCIS.Core.API/appsettings.Production.json | 2 +- IRaCIS.Core.Application/Service/Common/MailService.cs | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/IRaCIS.Core.API/appsettings.Production.json b/IRaCIS.Core.API/appsettings.Production.json index e9df69ad..311c0490 100644 --- a/IRaCIS.Core.API/appsettings.Production.json +++ b/IRaCIS.Core.API/appsettings.Production.json @@ -8,7 +8,7 @@ }, //"RootUrl": "http://123.56.181.144:8060/", "ConnectionStrings": { - "RemoteNew": "Server=123.56.94.154,1433\\MSSQLSERVER;Database=IRaCIS_Production_202205;User ID=sa;Password=dev123456DEV;TrustServerCertificate=true" + "RemoteNew": "Server=123.56.94.154,1433\\MSSQLSERVER;Database=IRaCIS.Production;User ID=sa;Password=dev123456DEV;TrustServerCertificate=true" }, "BasicSystemConfig": { diff --git a/IRaCIS.Core.Application/Service/Common/MailService.cs b/IRaCIS.Core.Application/Service/Common/MailService.cs index d87aeb43..60aaa3b9 100644 --- a/IRaCIS.Core.Application/Service/Common/MailService.cs +++ b/IRaCIS.Core.Application/Service/Common/MailService.cs @@ -526,6 +526,9 @@ namespace IRaCIS.Application.Services sysUserInfo = await _userRepository.AddAsync(saveItem); await _userRepository.SaveChangesAsync(); + + + sysUserInfo.UserTypeRole = userType; } else {