按钮级别的新版本,多级别的组织架构(NetCore)
yl
2023-08-25 e2a6a632bac998225c96474778d45007f1cc5b8e
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
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
    }
}