n
yl
2022-08-08 10315c7b6d135f2edbac5de8090b420775de1fb4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Web;
using VueWebApi.DLL.DAL;
using VueWebApi.Tools;
 
namespace VueWebApi.DLL.BLL
{
    public class LoginBLL
    {
        #region [登录查询]
        public static DataTable LoginSearch(string username,string password)
        {
            return LoginDAL.LoginSearch(username,password);
        }
        #endregion
 
        #region [写入登录记录表]
        public static ToMessage LoginBas(string usercode,string usertype)
        {
            return LoginDAL.LoginBas(usercode,usertype);
        }
        #endregion
 
        #region[查询菜单功能]
        public static ToMessage LoginMenu(string usercode)
        {
            return LoginDAL.LoginMenu(usercode);
        }
        #endregion
 
 
        #region[修改密码]
        public static ToMessage UpdateUserPassword(string usercode, string username, string password, string newpassword)
        {
            return LoginDAL.UpdateUserPassword(usercode,username, password,newpassword);
        }
        #endregion
 
        #region[登出]
        public static ToMessage LoginOut(int userid,string usercode, string username,string usertype)
        {
            return LoginDAL.LoginOut(userid,usercode, username, usertype);
        }
        #endregion
    }
}