From 67965cce30e900f9b6091170745ecf115f64e23d Mon Sep 17 00:00:00 2001 From: qwj <qwjzorro@163.com> Date: 星期三, 02 八月 2023 17:15:33 +0800 Subject: [PATCH] Merge branch 'master' of http://47.108.235.38:8080/r/DocumentService --- DocumentServiceAPI.Model/JwtInfo.cs | 70 +++++++++++++++++++++++++++++++++++ 1 files changed, 70 insertions(+), 0 deletions(-) diff --git a/DocumentServiceAPI.Model/JwtInfo.cs b/DocumentServiceAPI.Model/JwtInfo.cs new file mode 100644 index 0000000..39d2cd5 --- /dev/null +++ b/DocumentServiceAPI.Model/JwtInfo.cs @@ -0,0 +1,70 @@ +锘縰sing System; +using System.Collections.Generic; +using System.ComponentModel; +using System.ComponentModel.DataAnnotations; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace DocumentServiceAPI.Model +{ + /// <summary> + /// Jwt淇℃伅 + /// </summary> + public class JwtInfo + { + /// <summary> + /// 鍛樺伐ITCODE + /// </summary> + public int? EID { get; set; } + + /// <summary> + /// 绉熸埛ID + /// </summary> + public int ?TID { get; set; } + + + /// <summary> + /// 鍏徃ID + /// </summary> + public int? UID { get; set; } + + /// <summary> + /// Id璇嗗埆鍙凤紝涓昏鐢ㄤ簬鍒ゆ柇鍗曠鐧诲綍 + /// </summary> + public Guid? JID { get; set; } + + /// <summary> + /// 鐧诲綍婧� + /// </summary> + public LogInFrom LogInSource { get; set; } + } + + /// <summary> + /// 鐧诲綍婧� 绫诲瀷 + /// </summary> + public enum LogInFrom + { + /// <summary> + /// PCAPP鐧诲綍 + /// </summary> + [Description( "PCAPP鐧诲綍")] + PC, + /// <summary> + /// APP绔櫥褰� + /// </summary> + [Description("APP绔櫥褰�")] + APP, + /// <summary> + /// 寰俊灏忕▼搴忕櫥褰� + /// </summary> + [Description("寰俊灏忕▼搴忕櫥褰�")] + WeChat, + /// <summary> + /// 椤甸潰绔櫥褰� + /// </summary> + [Description("椤甸潰绔櫥褰�")] + Web + + } +} -- Gitblit v1.9.1