diff --git a/OSS.Common/Authrization/AppAuthorizeInfo.cs b/OSS.Common/Authrization/AppAuthorizeInfo.cs index 49c8b21..962fd7e 100644 --- a/OSS.Common/Authrization/AppAuthorizeInfo.cs +++ b/OSS.Common/Authrization/AppAuthorizeInfo.cs @@ -21,6 +21,7 @@ namespace OSS.Common.Authrization /// /// 应用的授权认证信息 /// + [Obsolete("转移至OSS.Infrastructuer类库下AppIdentity")] public class AppAuthorizeInfo { #region 参与签名属性 @@ -292,6 +293,7 @@ namespace OSS.Common.Authrization /// /// 应用客户端类型 /// + [Obsolete("转移至OSS.Infrastructuer类库下")] public enum AppClientType { /// @@ -329,6 +331,7 @@ namespace OSS.Common.Authrization /// /// 应用来源类型 /// + [Obsolete("转移至OSS.Infrastructuer类库下")] public enum AppSourceType { /// diff --git a/OSS.Common/Authrization/MemberShiper.cs b/OSS.Common/Authrization/MemberShiper.cs index b6e69cc..8ff31e4 100644 --- a/OSS.Common/Authrization/MemberShiper.cs +++ b/OSS.Common/Authrization/MemberShiper.cs @@ -20,6 +20,7 @@ namespace OSS.Common.Authrization /// /// 当前系统访问上下文信息 /// + [Obsolete("请使用OSS.Infrastructuer类库下AppContext,MemberContext 分别获取应用和用户上下文信息")] public static class MemberShiper { #region 当前应用授权信息 diff --git a/OSS.Common/BasicMos/BaseMo.cs b/OSS.Common/BasicMos/BaseMo.cs index 21887f0..25dee00 100644 --- a/OSS.Common/BasicMos/BaseMo.cs +++ b/OSS.Common/BasicMos/BaseMo.cs @@ -1,4 +1,4 @@ -#region Copyright (C) 2017 Kevin (OSS开源实验室) 公众号:osscoder +#region Copyright (C) 2017 Kevin (OSS开源实验室) 公众号:osscore /*************************************************************************** *   文件功能描述:OSSCore —— 实体基类 @@ -11,29 +11,11 @@ #endregion +using System; using OSS.Common.BasicMos.Enums; namespace OSS.Common.BasicMos { - #region 和租户相关的基类 - /// - public class BaseUIdAndStateMo : BaseUIdMo - { - /// - /// 状态信息 - /// - public CommonStatus status { get; set; } - } - /// - public class BaseUIdMo : BaseMo - { - /// - /// 用户Id - /// - public string u_id { get; set; } - } - - /// public class BaseStateMo : BaseMo { @@ -43,33 +25,34 @@ namespace OSS.Common.BasicMos public CommonStatus status { get; set; } } - #endregion - + /// + /// 基础实体 + /// + /// public class BaseMo { /// /// 主键Id /// public IdType id { get; set; } + } - ///// - ///// 租户Id - ///// - //public string t_id { get; set; } - + /// + [Obsolete("转移至 OSS.Infrastructure 类库下")] + public class BaseUIdAndStateMo : BaseUIdMo + { /// - /// 创建时间 + /// 状态信息 /// - public long add_time { get; set; } - + public CommonStatus status { get; set; } + } + /// + [Obsolete("转移至 OSS.Infrastructure 类库下")] + public class BaseUIdMo : BaseMo + { /// - /// 修改时间 + /// 用户Id /// - public long m_time { get; set; } - - /// - /// 应用来源 - /// - public string app_source { get; set; } + public string u_id { get; set; } } } \ No newline at end of file diff --git a/OSS.Common/Helpers/IdHelper/NumHelper.cs b/OSS.Common/Helpers/IdHelper/NumHelper.cs index 4759b19..6957829 100644 --- a/OSS.Common/Helpers/IdHelper/NumHelper.cs +++ b/OSS.Common/Helpers/IdHelper/NumHelper.cs @@ -1,6 +1,6 @@ -using OSS.Common.Extention; -using System; +using System; using System.Text; +using OSS.Common.Extention; namespace OSS.Common.Helpers.IdHelper { diff --git a/OSS.Common/OSS.Common.csproj b/OSS.Common/OSS.Common.csproj index 1971ca6..1305265 100644 --- a/OSS.Common/OSS.Common.csproj +++ b/OSS.Common/OSS.Common.csproj @@ -3,7 +3,7 @@ netstandard2.0 False - 2.2.0.2 + 2.2.0.3 false OSSCore OSSCore @@ -13,9 +13,9 @@ http://img1.osscore.cn/static/oss_net.png https://github.com/KevinWG/OSS.Common - 签名认证添加扩展参数 - 2.2.0.2 - 2.2.0.2 + 备注过期转移功能 + 2.2.0.3 + 2.2.0.3 https://github.com/KevinWG/OSS.Common/blob/master/LICENSE