2025-04-07 16:18:05 +08:00
|
|
|
|
using Sinvo.EplanHpD.Plugin.DynaClient;
|
|
|
|
|
using Sinvo.EplanHpD.Plugin.Service.Model;
|
|
|
|
|
using System;
|
2024-12-03 11:50:36 +08:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace Sinvo.EplanHpD.Plugin.Service
|
|
|
|
|
{
|
|
|
|
|
public class PluginServices
|
|
|
|
|
{
|
2025-04-25 16:25:45 +08:00
|
|
|
|
public static UserInfo user;
|
2025-04-07 16:18:05 +08:00
|
|
|
|
public static bool IsLogin => user != null && !string.IsNullOrEmpty(user.GUID) && DynaServerClient.GetClient().IsLoginExpired();
|
2025-04-25 16:25:45 +08:00
|
|
|
|
|
2024-12-03 11:50:36 +08:00
|
|
|
|
}
|
|
|
|
|
}
|