@@ -807,7 +807,7 @@ namespace Learun.Application.Web.Controllers | |||||
if (!string.IsNullOrEmpty(uid)) | if (!string.IsNullOrEmpty(uid)) | ||||
{ | { | ||||
decimal datetimenow = Convert.ToDecimal(DateTime.Now.ToString("yyyyMMddHHmmss")); | decimal datetimenow = Convert.ToDecimal(DateTime.Now.ToString("yyyyMMddHHmmss")); | ||||
string username = "admin"; | |||||
string username = uid; | |||||
string password = "www.qj.com"; | string password = "www.qj.com"; | ||||
UserEntity userEntity = userBll.CheckLogin(username, Md5Helper.Encrypt(password, 32)); | UserEntity userEntity = userBll.CheckLogin(username, Md5Helper.Encrypt(password, 32)); | ||||
@@ -4,8 +4,8 @@ | |||||
learun._im = { | learun._im = { | ||||
init: function () { | init: function () { | ||||
learun._im.registerServer(); | |||||
learun._im.connect(); | |||||
//learun._im.registerServer(); | |||||
//learun._im.connect(); | |||||
} | } | ||||
// 连接服务端 | // 连接服务端 | ||||
, connect: function () { | , connect: function () { | ||||
@@ -69,7 +69,7 @@ | |||||
$(function() { | $(function() { | ||||
learun._im.connect(); | |||||
//learun._im.connect(); | |||||
}) | }) | ||||
})(jQuery, top.learun); | })(jQuery, top.learun); |
@@ -22,7 +22,7 @@ | |||||
<TargetFrameworkProfile /> | <TargetFrameworkProfile /> | ||||
</PropertyGroup> | </PropertyGroup> | ||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> | ||||
<PlatformTarget>x64</PlatformTarget> | |||||
<PlatformTarget>AnyCPU</PlatformTarget> | |||||
<DebugSymbols>true</DebugSymbols> | <DebugSymbols>true</DebugSymbols> | ||||
<DebugType>full</DebugType> | <DebugType>full</DebugType> | ||||
<Optimize>false</Optimize> | <Optimize>false</Optimize> | ||||