Browse Source

登录敏感信息处理

应县
ndbs 8 months ago
parent
commit
4f8cfd6bef
3 changed files with 4 additions and 4 deletions
  1. +2
    -0
      Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/UserApi.cs
  2. +1
    -2
      Learun.Framework.Ultimate V7/LearunApp-2.2.0/common/config.default.js
  3. +1
    -2
      Learun.Framework.Ultimate V7/LearunApp-2.2.0/config.js

+ 2
- 0
Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/UserApi.cs View File

@@ -55,6 +55,8 @@ namespace Learun.Application.WebApi

#region 内部账户验证
UserEntity userEntity = userIBLL.CheckLogin(loginModel.username, loginModel.password);
userEntity.F_Password = null;
userEntity.F_Secretkey = null;

#region 写入日志
LogEntity logEntity = new LogEntity();


+ 1
- 2
Learun.Framework.Ultimate V7/LearunApp-2.2.0/common/config.default.js View File

@@ -17,8 +17,7 @@ export default {
],
// 开发环境下自动填充登录账号密码,与接口地址一一对应,只在开发环境下显示
"devAccount": [
{ username: "18702193424", password: "123456" },
{ username: "System", password: "0000" },
{ username: "", password: "" },
],
// 开发环境使用的接口地址(数组索引)
"devApiHostIndex": 0,


+ 1
- 2
Learun.Framework.Ultimate V7/LearunApp-2.2.0/config.js View File

@@ -30,8 +30,7 @@ export default {
// "webHost":"http://192.168.10.175:8087/",
// 开发环境下自动填充登录账号密码,与接口地址一一对应,只在开发环境下显示
"devAccount": [
// 20201130230 21364200000400266 老师 420528196310072253 学生 420528200606205026 420528200507261428
{ username: "system", password: "www.qj.com" }
{ username: "", password: "" }
],
//是否分布式部署 指WebApi与Web不在一台服务器
"isDistributed":true,


Loading…
Cancel
Save