using System; using System.Collections.Generic; using System.Configuration; using System.Linq; using System.Text; using System.Threading.Tasks; using SqlSugar; using WMS.Util; using WMS.Info; namespace WMS.Core { public class LoginUserOutBLL : IBLL { public object OutObjData { get; set; } public string SuccessMsg { get; set; } = "系统退出成功。"; public LoginUserInfo LoginUser { get; set; } public string InJsonData { get; set; } public string BLLDesc { get; private set; } = "系统退出"; public void Exec() { try { string tokenno = SysSecurityCore.Aes256Decrypt(LoginUser.EncryptTokenNo); SysDbCore.GetDbCtx().Deleteable().Where(it => it.F_NO == tokenno).ExecuteCommand(); } catch (Exception ex) { throw ex; } } } }