using System;
|
using System.Collections.Generic;
|
using System.Data;
|
using System.Linq;
|
using System.Threading.Tasks;
|
using VueWebCoreApi.DLL.DAL;
|
using VueWebCoreApi.Models;
|
using VueWebCoreApi.Tools;
|
|
namespace VueWebCoreApi.DLL.BLL
|
{
|
public class LoginBLL
|
{
|
|
#region [登录查询]
|
public static ToMessage LoginSearch(string username, string password)
|
{
|
return LoginDAL.LoginSearch(username, password);
|
}
|
#endregion
|
|
#region [写入登录记录表]
|
public static ToMessage LoginBas(string usercode, string oper_type, string description, string type)
|
{
|
return LoginDAL.LoginBas(usercode, oper_type, description,type);
|
}
|
#endregion
|
|
#region[查询菜单功能]
|
public static ToMessage LoginMenu(string usercode, string usertype, User us)
|
{
|
return LoginDAL.LoginMenu(usercode, usertype, us);
|
}
|
#endregion
|
|
#region[修改密码]
|
public static ToMessage UpdateUserPassword(User us, string password, string newpassword)
|
{
|
return LoginDAL.UpdateUserPassword(us, password, newpassword);
|
}
|
#endregion
|
|
#region[登出]
|
public static ToMessage LoginOut(User us)
|
{
|
return LoginDAL.LoginOut(us);
|
}
|
#endregion
|
|
|
|
#region[APP密码重置]
|
public static ToMessage ResettUserPassword(string usercode, string username,string usertype)
|
{
|
return LoginDAL.ResettUserPassword(usercode, username, usertype);
|
}
|
#endregion
|
|
#region[App登录查询安灯呼叫信息]
|
public static ToMessage LoginAppAnDonMessage(string rid, string usercode, string username, string usertype, string stu_torgcode, string stu_torgtypecode)
|
{
|
return LoginDAL.LoginAppAnDonMessage(rid, usercode, username, usertype, stu_torgcode, stu_torgtypecode);
|
}
|
#endregion
|
|
|
#region[App版本升级接口]
|
public static ToMessage AppUpgrade()
|
{
|
return LoginDAL.AppUpgrade();
|
}
|
#endregion
|
}
|
}
|