Browse Source

登录敏感信息处理

新疆警官学校中职
ndbs 8 months ago
parent
commit
fed2fe2cda
3 changed files with 5 additions and 3 deletions
  1. +3
    -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
    -1
      Learun.Framework.Ultimate V7/LearunApp-2.2.0/config.js

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

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

#region 内部账户验证
UserEntity userEntity = userIBLL.CheckLogin(loginModel.username, loginModel.password);
userEntity.F_Password = null;
userEntity.F_IdentityCardNo = 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
- 1
Learun.Framework.Ultimate V7/LearunApp-2.2.0/config.js View File

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


Loading…
Cancel
Save