“登陆”文字错误

optimize
wanghaomei 2 years ago
parent 8f120b9e29
commit 69ef0f8207

@ -730,7 +730,7 @@ namespace Myshipping.Application
} }
catch (Exception ex) catch (Exception ex)
{ {
throw Oops.Bah("获取登人相关的任务统计信息异常,{0}", ex.Message); throw Oops.Bah("获取登人相关的任务统计信息异常,{0}", ex.Message);
} }
return resultInfo; return resultInfo;

@ -3,14 +3,14 @@
namespace Myshipping.Core; namespace Myshipping.Core;
/// <summary> /// <summary>
/// 登类型 /// 登类型
/// </summary> /// </summary>
public enum LoginType public enum LoginType
{ {
/// <summary> /// <summary>
/// 登 /// 登
/// </summary> /// </summary>
[Description("登")] [Description("登")]
LOGIN = 0, LOGIN = 0,
/// <summary> /// <summary>
@ -32,8 +32,8 @@ public enum LoginType
CHANGEPASSWORD = 3, CHANGEPASSWORD = 3,
/// <summary> /// <summary>
/// 三方授权登 /// 三方授权登
/// </summary> /// </summary>
[Description("授权登")] [Description("授权登")]
AUTHORIZEDLOGIN = 4 AUTHORIZEDLOGIN = 4
} }

@ -12788,7 +12788,7 @@
</member> </member>
<member name="P:Myshipping.Core.Service.OpLogInput.Name"> <member name="P:Myshipping.Core.Service.OpLogInput.Name">
<summary> <summary>
名称 操作人名称
</summary> </summary>
</member> </member>
<member name="P:Myshipping.Core.Service.OpLogInput.Success"> <member name="P:Myshipping.Core.Service.OpLogInput.Success">
@ -12863,7 +12863,7 @@
</member> </member>
<member name="P:Myshipping.Core.Service.OpLogInput.Account"> <member name="P:Myshipping.Core.Service.OpLogInput.Account">
<summary> <summary>
操作人 操作人账号
</summary> </summary>
</member> </member>
<member name="T:Myshipping.Core.Service.OpLogOutput"> <member name="T:Myshipping.Core.Service.OpLogOutput">

@ -66,27 +66,27 @@ public class LoginOutput
public int AdminType { get; set; } public int AdminType { get; set; }
/// <summary> /// <summary>
/// 最后登IP /// 最后登IP
/// </summary> /// </summary>
public string LastLoginIp { get; set; } public string LastLoginIp { get; set; }
/// <summary> /// <summary>
/// 最后登时间 /// 最后登时间
/// </summary> /// </summary>
public DateTime LastLoginTime { get; set; } public DateTime LastLoginTime { get; set; }
/// <summary> /// <summary>
/// 最后登地址 /// 最后登地址
/// </summary> /// </summary>
public string LastLoginAddress { get; set; } public string LastLoginAddress { get; set; }
/// <summary> /// <summary>
/// 最后登所用浏览器 /// 最后登所用浏览器
/// </summary> /// </summary>
public string LastLoginBrowser { get; set; } public string LastLoginBrowser { get; set; }
/// <summary> /// <summary>
/// 最后登所用系统 /// 最后登所用系统
/// </summary> /// </summary>
public string LastLoginOs { get; set; } public string LastLoginOs { get; set; }

@ -34,10 +34,10 @@ public class SysOpLogService : ISysOpLogService, IDynamicApiController, ITransie
{ {
var opLogs = await _sysOpLogRep.AsQueryable() var opLogs = await _sysOpLogRep.AsQueryable()
.WhereIF(!string.IsNullOrWhiteSpace(input.Name), u => u.Name.Contains(input.Name.Trim())) .WhereIF(!string.IsNullOrWhiteSpace(input.Name), u => u.Name.Contains(input.Name.Trim()))
.WhereIF(!string.IsNullOrWhiteSpace(input.Account), u => u.Name.Contains(input.Account.Trim())) .WhereIF(!string.IsNullOrWhiteSpace(input.Account), u => u.Account == input.Account.Trim())
.WhereIF(!string.IsNullOrWhiteSpace(input.Ip), u => u.Name.Contains(input.Ip.Trim())) .WhereIF(!string.IsNullOrWhiteSpace(input.Ip), u => u.Ip == input.Ip.Trim())
.WhereIF(!string.IsNullOrWhiteSpace(input.Url), u => u.Name.Contains(input.Url.Trim())) .WhereIF(!string.IsNullOrWhiteSpace(input.Url), u => u.Name.Contains(input.Url.Trim()))
.WhereIF(Enum.IsDefined(typeof(YesOrNot),input.Success), u => u.Success == input.Success) .WhereIF(Enum.IsDefined(typeof(YesOrNot), input.Success), u => u.Success == input.Success)
.WhereIF(!string.IsNullOrWhiteSpace(input.SearchBeginTime), u => u.OpTime >= DateTime.Parse(input.SearchBeginTime.Trim()) && u.OpTime <= DateTime.Parse(input.SearchEndTime.Trim())) .WhereIF(!string.IsNullOrWhiteSpace(input.SearchBeginTime), u => u.OpTime >= DateTime.Parse(input.SearchBeginTime.Trim()) && u.OpTime <= DateTime.Parse(input.SearchEndTime.Trim()))
.OrderBy(u => u.Id, OrderByType.Desc) .OrderBy(u => u.Id, OrderByType.Desc)
.Select<OpLogOutput>() .Select<OpLogOutput>()

Loading…
Cancel
Save