|
|
@@ -262,7 +262,7 @@ namespace Learun.Application.WebApi.Modules |
|
|
|
var url = perm_application.FInterfaceUrl; |
|
|
|
if (url.Contains("?")) |
|
|
|
{ |
|
|
|
url += "&appkey=" + Md5Helper.Encrypt(perm_application.FSecret, 32) + "&name=" + DESEncrypt.Encrypt(userinfo.realName, perm_application.FSecret, false) + "&no=" + DESEncrypt.Encrypt(userinfo.enCode, perm_application.FSecret, false) +"&type=" + type + "&m=" + DESEncrypt.Encrypt(userinfo.loginMark) + "&t=" + DESEncrypt.Encrypt(userinfo.token); |
|
|
|
url += "&appkey=" + Md5Helper.Encrypt(perm_application.FSecret, 32) + "&name=" + DESEncrypt.Encrypt(userinfo.realName, perm_application.FSecret, false) + "&no=" + DESEncrypt.Encrypt(userinfo.enCode, perm_application.FSecret, false) + "&type=" + type + "&m=" + DESEncrypt.Encrypt(userinfo.loginMark) + "&t=" + DESEncrypt.Encrypt(userinfo.token); |
|
|
|
} |
|
|
|
else |
|
|
|
{ |
|
|
@@ -316,6 +316,7 @@ namespace Learun.Application.WebApi.Modules |
|
|
|
functionVisitEntity.PIsLoginSuccess = true; |
|
|
|
functionVisitEntity.PContent = "成功转到统一认证网站:" + perfun.FUrl; |
|
|
|
functionVisitIbll.SaveEntity(null, functionVisitEntity); |
|
|
|
var user = LoginUserInfo.Get(); |
|
|
|
return Success(new |
|
|
|
{ |
|
|
|
FInterfaceUrl = perfun.FInterfaceUrl + "?u=" + |
|
|
@@ -327,6 +328,7 @@ namespace Learun.Application.WebApi.Modules |
|
|
|
DESEncrypt.Encrypt(DateTime.Now.ToString("yyyyMMddHHmmss"), secretkey), |
|
|
|
publickey) + "&ip=" + |
|
|
|
DESEncrypt.Encrypt(DESEncrypt.Encrypt(GetIP(), secretkey), publickey) |
|
|
|
+ "&m=" + DESEncrypt.Encrypt(user.loginMark) + "&t=" + DESEncrypt.Encrypt(user.token) |
|
|
|
}); |
|
|
|
} |
|
|
|
else |
|
|
|