Files
ThingsGateway/framework/admin/ThingsGateway.Admin.Application/Const/LogConst.cs

69 lines
1.8 KiB
C#
Raw Normal View History

2023-05-23 23:54:28 +08:00
#region copyright
//------------------------------------------------------------------------------
// 此代码版权声明为全文件覆盖,如有原作者特别声明,会在下方手动补充
// 此代码版权除特别声明外的代码归作者本人Diego所有
// 源代码使用协议遵循本仓库的开源协议及附加协议
2023-07-16 17:48:22 +08:00
// Gitee源代码仓库https://gitee.com/diego2098/ThingsGateway
2023-05-23 23:54:28 +08:00
// Github源代码仓库https://github.com/kimdiego2098/ThingsGateway
2023-07-16 17:48:22 +08:00
// 使用文档https://diego2098.gitee.io/thingsgateway-docs/
2023-05-23 23:54:28 +08:00
// QQ群605534569
//------------------------------------------------------------------------------
#endregion
2023-08-07 15:09:53 +08:00
namespace ThingsGateway.Admin.Application;
/// <summary>
/// 日志常量
/// </summary>
public class LogConst
2023-03-04 18:41:11 +08:00
{
2023-08-07 15:09:53 +08:00
#region
2023-03-04 18:41:11 +08:00
/// <summary>
2023-08-07 15:09:53 +08:00
/// 登录
2023-03-04 18:41:11 +08:00
/// </summary>
2023-08-07 15:09:53 +08:00
public const string LOG_LOGIN = "LOGIN";
2023-03-04 18:41:11 +08:00
/// <summary>
2023-08-07 15:09:53 +08:00
/// 登出
2023-03-04 18:41:11 +08:00
/// </summary>
2023-08-07 15:09:53 +08:00
public const string LOG_LOGOUT = "LOGOUT";
2023-03-04 18:41:11 +08:00
/// <summary>
2023-08-07 15:09:53 +08:00
/// 第三方登录
2023-03-04 18:41:11 +08:00
/// </summary>
2023-08-07 15:09:53 +08:00
public const string LOG_OPENAPILOGIN = "OPENAPILOGIN";
2023-03-04 18:41:11 +08:00
/// <summary>
2023-08-07 15:09:53 +08:00
/// 第三方登出
2023-03-04 18:41:11 +08:00
/// </summary>
2023-08-07 15:09:53 +08:00
public const string LOG_OPENAPILOGOUT = "OPENAPILOGOUT";
2023-03-04 18:41:11 +08:00
/// <summary>
2023-08-07 15:09:53 +08:00
/// 第三方操作来源
2023-03-04 18:41:11 +08:00
/// </summary>
2023-08-07 15:09:53 +08:00
public const string LOG_OPENAPIOPERATE = "OPENAPIOPERATE";
2023-03-04 18:41:11 +08:00
/// <summary>
2023-08-07 15:09:53 +08:00
/// 操作分类
2023-03-04 18:41:11 +08:00
/// </summary>
2023-08-07 15:09:53 +08:00
public const string LOG_OPERATE = "OPERATE";
2023-03-04 18:41:11 +08:00
/// <summary>
2023-08-07 15:09:53 +08:00
/// 内部操作来源
2023-03-04 18:41:11 +08:00
/// </summary>
2023-08-07 15:09:53 +08:00
public const string LOG_REQMETHOD = "BLAZORSERVER";
2023-03-04 18:41:11 +08:00
/// <summary>
2023-08-07 15:09:53 +08:00
/// 操作成功
2023-03-04 18:41:11 +08:00
/// </summary>
2023-08-07 15:09:53 +08:00
public const string LOG_SUCCESS = "SUCCESS";
2023-03-04 18:41:11 +08:00
/// <summary>
2023-08-07 15:09:53 +08:00
/// 操作失败
2023-03-04 18:41:11 +08:00
/// </summary>
2023-08-07 15:09:53 +08:00
public const string LOG_FAIL = "FAIL";
#endregion
2023-03-04 18:41:11 +08:00
}