SystemInfo.cs 791 B

1234567891011121314151617181920212223242526272829303132
  1. using Lottomat.Util;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. using Lottomat.Utils;
  8. using Lottomat.Utils.Web;
  9. namespace Lottomat.Application.Code
  10. {
  11. /// <summary>
  12. /// 版 本 1.0
  13. /// Copyright (c) 2016-2017
  14. /// 创建人:赵轶
  15. /// 日 期:2015.11.15 9:10:45
  16. /// 描 述:系统信息
  17. /// </summary>
  18. public class SystemInfo
  19. {
  20. /// <summary>
  21. /// 当前Tab页面模块Id
  22. /// </summary>
  23. public static string CurrentModuleId => WebHelper.GetCookie("currentmoduleId");
  24. /// <summary>
  25. /// 当前登录用户Id
  26. /// </summary>
  27. public static string CurrentUserId => OperatorProvider.Provider.Current().UserId;
  28. }
  29. }