using Autofac; using Rhea.Common; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Tiger.Model; namespace Tiger.IBusiness { public interface ILogin { #region BS /// /// 获取登录信息 /// /// /// /// public Task GetBSLoginInfo(string token, bool Async = true); /// /// 添加记录 /// /// /// /// public Task AddLOG_BS_LOGINAsync(SYS_BS_LOGIN parm, bool Async = true); /// /// 登录 /// /// /// /// public Task> BSLogin(ApiAction action, bool Async = true); /// /// 切换据点 /// /// /// /// public Task BSSwitchOrgCode(string token, string org, string fty); /// /// 注销 /// /// /// public Task BSLogout(string token); #endregion #region CS /// /// 获取登录信息 /// /// /// /// public Task GetCSLoginInfo(string token, bool Async = true); /// /// 登录 /// /// /// /// public Task> CSLogin(ApiAction action, bool Async = true); /// /// 注销 /// /// /// public Task CSLogout(string token); #endregion } }