Browse Source

接口优化 准确名字

SCP_CYJ
qian 4 months ago
parent
commit
c11b7139e9
  1. 6
      UniApiGroup/Controller/OdbcApiQadController.cs

6
UniApiGroup/Controller/OdbcApiQadController.cs

@ -1713,7 +1713,8 @@ namespace CK.SCP.GrupUniApi.Controller
mailbody += "登录地址:" + wwadres + "<br><br>";
mailbody += "<br><br><br><br>日期:" + DateTime.Now;
email.EmailString = mailbody;
var user = authdb.Users.FirstOrDefault(q => q.Name.Contains(Ditem.VENDORNO));
string VENDname = Ditem.VENDORNO + "@W21";
var user = authdb.Users.FirstOrDefault(q => q.Name == VENDname);
if (user == null)
{
email.EmailSendState = 2;
@ -1874,7 +1875,8 @@ namespace CK.SCP.GrupUniApi.Controller
mailbody += "登录地址:" + wwadres + "<br><br>";
mailbody += "<br><br><br><br>日期:" + DateTime.Now;
email.EmailString = mailbody;
var user = authdb.Users.FirstOrDefault(q => q.Name.Contains(inentity.VENDORNO));
string VENDname = inentity.VENDORNO + "@W21";
var user = authdb.Users.FirstOrDefault(q => q.Name == VENDname);
if (user == null)
{
email.EmailSendState = 2;

Loading…
Cancel
Save