“登陆”文字错误

optimize
wanghaomei 2 years ago
parent 8f120b9e29
commit 69ef0f8207

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

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

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

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

@ -34,10 +34,10 @@ public class SysOpLogService : ISysOpLogService, IDynamicApiController, ITransie
{
var opLogs = await _sysOpLogRep.AsQueryable()
.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.Ip), u => u.Name.Contains(input.Ip.Trim()))
.WhereIF(!string.IsNullOrWhiteSpace(input.Account), u => u.Account == input.Account.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(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()))
.OrderBy(u => u.Id, OrderByType.Desc)
.Select<OpLogOutput>()

Loading…
Cancel
Save