|
|
@@ -159,15 +159,16 @@ namespace Learun.Application.WebApi.Modules |
|
|
|
var code = Util.CommonHelper.RndNum(9); |
|
|
|
cache.Write(code, userinfo.account, TimeSpan.FromMinutes(10)); |
|
|
|
var url = perm_application.FInterfaceUrl; |
|
|
|
string zzjjz = ConfigurationManager.AppSettings["zzjjz"]; |
|
|
|
if (url.Contains("?")) |
|
|
|
{ |
|
|
|
url += "&appkey=" + Md5Helper.Encrypt("tlmzysso", 32) + "&name=" + DESEncrypt.Encrypt(userinfo.realName, "tlmzysso") + "&no=" + DESEncrypt.Encrypt(userinfo.enCode, "tlmzysso") + "&type=" + type; |
|
|
|
url += "&appkey=" + Md5Helper.Encrypt(zzjjz, 32) + "&name=" + DESEncrypt.Encrypt(userinfo.realName, zzjjz) + "&no=" + DESEncrypt.Encrypt(userinfo.enCode, zzjjz) + "&type=" + type; |
|
|
|
//url += "&appkey=" + DESEncrypt.Encrypt(code, "bjqjsso"); |
|
|
|
} |
|
|
|
else |
|
|
|
{ |
|
|
|
//url += "&appkey=" + DESEncrypt.Encrypt(code, "bjqjsso"); |
|
|
|
url += "?appkey=" + Md5Helper.Encrypt("tlmzysso", 32) + "&name=" + DESEncrypt.Encrypt(userinfo.realName, "tlmzysso") + "&no=" + DESEncrypt.Encrypt(userinfo.enCode, "tlmzysso") + "&type=" + type; |
|
|
|
url += "?appkey=" + Md5Helper.Encrypt(zzjjz, 32) + "&name=" + DESEncrypt.Encrypt(userinfo.realName, zzjjz) + "&no=" + DESEncrypt.Encrypt(userinfo.enCode, zzjjz) + "&type=" + type; |
|
|
|
} |
|
|
|
return Success(new{ FInterfaceUrl=url }); |
|
|
|
} |
|
|
|