mirror of
http://git.coreshop.cn/jianweie/coreshoppro.git
synced 2025-12-06 17:43:26 +08:00
# 2022-04-10
### 1.4.4开源社区版: 无 ### 0.3.5 专业版: 【新增】增加用户操作日志,可记录接口也可记录后台,同时支持本地存储或数据库存储。支持配置文件开启。 【新增】数据库增加用户操作日志表。 【优化】优化反射获取所有Controller 和Action的全局方法,增加缓存设置。 【优化】优化记录IP请求数据的中间件。 【修复】修复ios下用户充值余额的功能不显示的情况。 【修复】修复我的余额面板列表中右侧三角无反应的问题。 【修复】修复代理中心下线人数和订单数量统计错误的问题。#I51OUC
This commit is contained in:
272
CoreCms.Net.Model/Entities/System/SysUserOperationLog.cs
Normal file
272
CoreCms.Net.Model/Entities/System/SysUserOperationLog.cs
Normal file
@@ -0,0 +1,272 @@
|
||||
/***********************************************************************
|
||||
* Project: CoreCms
|
||||
* ProjectName: 核心内容管理系统
|
||||
* Web: https://www.corecms.net
|
||||
* Author: 大灰灰
|
||||
* Email: jianweie@163.com
|
||||
* CreateTime: 2022/4/10 0:52:14
|
||||
* Description: 暂无
|
||||
***********************************************************************/
|
||||
|
||||
using SqlSugar;
|
||||
using System.ComponentModel;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace CoreCms.Net.Model.Entities
|
||||
{
|
||||
/// <summary>
|
||||
/// 用户操作日志
|
||||
/// </summary>
|
||||
public partial class SysUserOperationLog
|
||||
{
|
||||
/// <summary>
|
||||
/// 构造函数
|
||||
/// </summary>
|
||||
public SysUserOperationLog()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 序列
|
||||
/// </summary>
|
||||
[Display(Name = "序列")]
|
||||
|
||||
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
|
||||
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
|
||||
|
||||
|
||||
public System.Int32 id { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 用户登录账号
|
||||
/// </summary>
|
||||
[Display(Name = "用户登录账号")]
|
||||
|
||||
|
||||
[StringLength(maximumLength:50,ErrorMessage = "{0}不能超过{1}字")]
|
||||
|
||||
|
||||
public System.String userName { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 用户登录昵称
|
||||
/// </summary>
|
||||
[Display(Name = "用户登录昵称")]
|
||||
|
||||
|
||||
[StringLength(maximumLength:50,ErrorMessage = "{0}不能超过{1}字")]
|
||||
|
||||
|
||||
public System.String userNickName { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 用户序列
|
||||
/// </summary>
|
||||
[Display(Name = "用户序列")]
|
||||
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
|
||||
|
||||
|
||||
public System.Int32 userId { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// IP地址
|
||||
/// </summary>
|
||||
[Display(Name = "IP地址")]
|
||||
|
||||
|
||||
[StringLength(maximumLength:150,ErrorMessage = "{0}不能超过{1}字")]
|
||||
|
||||
|
||||
public System.String ip { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 请求地址
|
||||
/// </summary>
|
||||
[Display(Name = "请求地址")]
|
||||
|
||||
|
||||
[StringLength(maximumLength:150,ErrorMessage = "{0}不能超过{1}字")]
|
||||
|
||||
|
||||
public System.String apiPath { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 开始时间
|
||||
/// </summary>
|
||||
[Display(Name = "开始时间")]
|
||||
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
|
||||
|
||||
|
||||
public System.DateTime beginTime { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 结束时间
|
||||
/// </summary>
|
||||
[Display(Name = "结束时间")]
|
||||
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
|
||||
|
||||
|
||||
public System.DateTime endTime { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 耗时
|
||||
/// </summary>
|
||||
[Display(Name = "耗时")]
|
||||
|
||||
|
||||
[StringLength(maximumLength:50,ErrorMessage = "{0}不能超过{1}字")]
|
||||
|
||||
|
||||
public System.String opTime { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 请求方式
|
||||
/// </summary>
|
||||
[Display(Name = "请求方式")]
|
||||
|
||||
|
||||
[StringLength(maximumLength:50,ErrorMessage = "{0}不能超过{1}字")]
|
||||
|
||||
|
||||
public System.String requestMethod { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 请求数据
|
||||
/// </summary>
|
||||
[Display(Name = "请求数据")]
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public System.String requestData { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 返回数据
|
||||
/// </summary>
|
||||
[Display(Name = "返回数据")]
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public System.String responseBodyData { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 代理渠道
|
||||
/// </summary>
|
||||
[Display(Name = "代理渠道")]
|
||||
|
||||
|
||||
[StringLength(maximumLength:1000,ErrorMessage = "{0}不能超过{1}字")]
|
||||
|
||||
|
||||
public System.String agent { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 动作方法名称
|
||||
/// </summary>
|
||||
[Display(Name = "动作方法名称")]
|
||||
|
||||
|
||||
[StringLength(maximumLength:50,ErrorMessage = "{0}不能超过{1}字")]
|
||||
|
||||
|
||||
public System.String actionName { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 动作方法描述
|
||||
/// </summary>
|
||||
[Display(Name = "动作方法描述")]
|
||||
|
||||
|
||||
[StringLength(maximumLength:50,ErrorMessage = "{0}不能超过{1}字")]
|
||||
|
||||
|
||||
public System.String actionDescription { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 控制器名称
|
||||
/// </summary>
|
||||
[Display(Name = "控制器名称")]
|
||||
|
||||
|
||||
[StringLength(maximumLength:50,ErrorMessage = "{0}不能超过{1}字")]
|
||||
|
||||
|
||||
public System.String controllerName { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 控制器名称
|
||||
/// </summary>
|
||||
[Display(Name = "控制器名称")]
|
||||
|
||||
|
||||
[StringLength(maximumLength:50,ErrorMessage = "{0}不能超过{1}字")]
|
||||
|
||||
|
||||
public System.String controllerDescription { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 状态码
|
||||
/// </summary>
|
||||
[Display(Name = "状态码")]
|
||||
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
|
||||
|
||||
|
||||
public System.Int32 statusCode { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 创建时间
|
||||
/// </summary>
|
||||
[Display(Name = "创建时间")]
|
||||
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
|
||||
|
||||
|
||||
public System.DateTime createTime { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 数据来源
|
||||
/// </summary>
|
||||
[Display(Name = "数据来源")]
|
||||
|
||||
|
||||
[StringLength(maximumLength:50,ErrorMessage = "{0}不能超过{1}字")]
|
||||
|
||||
|
||||
public System.String dataSources { get; set; }
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user