|
@ -1713,7 +1713,8 @@ namespace CK.SCP.GrupUniApi.Controller |
|
|
mailbody += "登录地址:" + wwadres + "<br><br>"; |
|
|
mailbody += "登录地址:" + wwadres + "<br><br>"; |
|
|
mailbody += "<br><br><br><br>日期:" + DateTime.Now; |
|
|
mailbody += "<br><br><br><br>日期:" + DateTime.Now; |
|
|
email.EmailString = mailbody; |
|
|
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) |
|
|
if (user == null) |
|
|
{ |
|
|
{ |
|
|
email.EmailSendState = 2; |
|
|
email.EmailSendState = 2; |
|
@ -1874,7 +1875,8 @@ namespace CK.SCP.GrupUniApi.Controller |
|
|
mailbody += "登录地址:" + wwadres + "<br><br>"; |
|
|
mailbody += "登录地址:" + wwadres + "<br><br>"; |
|
|
mailbody += "<br><br><br><br>日期:" + DateTime.Now; |
|
|
mailbody += "<br><br><br><br>日期:" + DateTime.Now; |
|
|
email.EmailString = mailbody; |
|
|
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) |
|
|
if (user == null) |
|
|
{ |
|
|
{ |
|
|
email.EmailSendState = 2; |
|
|
email.EmailSendState = 2; |
|
|