| | |
| | | } |
| | | #endregion |
| | | |
| | | #region [写入登录记录表] |
| | | public static ToMessage LoginBas(string usercode,string usertype) |
| | | { |
| | | return LoginDAL.LoginBas(usercode,usertype); |
| | | } |
| | | #endregion |
| | | |
| | | #region[查询菜单功能] |
| | | public static ToMessage LoginMenu(string usercode) |
| | | public static ToMessage LoginMenu(string usercode,string usertype) |
| | | { |
| | | return LoginDAL.LoginMenu(usercode); |
| | | return LoginDAL.LoginMenu(usercode, usertype); |
| | | } |
| | | #endregion |
| | | |
| | | |
| | | #region[修改密码] |
| | | public static ToMessage UpdateUserPassword(string username, string password, string newpassword) |
| | | public static ToMessage UpdateUserPassword(string usercode, string username, string password, string newpassword) |
| | | { |
| | | return LoginDAL.UpdateUserPassword(username, password,newpassword); |
| | | return LoginDAL.UpdateUserPassword(usercode,username, password,newpassword); |
| | | } |
| | | #endregion |
| | | |
| | | #region[APP修改密码] |
| | | public static ToMessage AppUpdateUserPassword(string usercode, string username, string password, string newpassword) |
| | | { |
| | | return LoginDAL.AppUpdateUserPassword(usercode, username, password, newpassword); |
| | | } |
| | | #endregion |
| | | |
| | | #region[APP密码重置] |
| | | public static ToMessage ResettUserPassword(string usercode, string username) |
| | | { |
| | | return LoginDAL.ResettUserPassword(usercode, username); |
| | | } |
| | | #endregion |
| | | |
| | | #region[PC登出] |
| | | public static ToMessage LoginOut(int userid,string usercode, string username,string usertype) |
| | | { |
| | | return LoginDAL.LoginOut(userid, usercode, username, usertype); |
| | | } |
| | | #endregion |
| | | |
| | | #region[App登出] |
| | | public static ToMessage LoginAppOut(int userid, string usercode, string username, string usertype) |
| | | { |
| | | return LoginDAL.LoginAppOut(userid, usercode, username, usertype); |
| | | } |
| | | #endregion |
| | | |
| | | #region[App登录查询安灯呼叫信息] |
| | | public static ToMessage LoginAppAnDonMessage(string rid, string usercode, string username, string usertype) |
| | | { |
| | | return LoginDAL.LoginAppAnDonMessage(rid, usercode, username, usertype); |
| | | } |
| | | #endregion |
| | | } |