Browse Source

调整统一身份认证Forjava

master
liangkun 3 years ago
parent
commit
f7ded5c350
3 changed files with 5 additions and 5 deletions
  1. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Controllers/LoginController.cs
  2. +3
    -3
      Learun.Framework.Ultimate V7/Learun.Application.Web/Views/LR_Content/script/pushmessage.js
  3. +1
    -1
      Learun.Framework.Ultimate V7/Quanjiang.DigitalScholl.JobService/Quanjiang.DigitalScholl.JobService.csproj

+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Controllers/LoginController.cs View File

@@ -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));




+ 3
- 3
Learun.Framework.Ultimate V7/Learun.Application.Web/Views/LR_Content/script/pushmessage.js View File

@@ -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);

+ 1
- 1
Learun.Framework.Ultimate V7/Quanjiang.DigitalScholl.JobService/Quanjiang.DigitalScholl.JobService.csproj View File

@@ -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>


Loading…
Cancel
Save