Mr.Shi
2023-09-05 3878c57a2bd710295931303ea85439a596838dfd
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
const http = uni.$u.http
// 登录
export function coustomLogin(params) {
    return http.get('/wechat/ordinaryLogin', {params})
}
 
// 微信授权
export function wxEmpower(params) {
    return http.get('/wechat/wxEmpower', {params})
}
 
// 查询统计列表数量
export function pageCount(data) {
    return http.post('/ext/noticesExt/pageCount', data)
}
 
// 菜单数据
export function getTreeList(params) {
    return http.get('/system/menu/treeNodes', {params})
}
 
// 退出登录
export function logout() {
    return http.get(`/wechat/logout`)
}
 
// 微信公众号登录
export function wxAccountLogin(data) {
    return http.post('/system/wxAccountLogin', data)
}
 
// 获取当前登录用户信息
export function getUserInfo(params) {
    return http.get('/system/getUserInfo', {params})
}
 
// 获取微信openId
export function wxLogin(params) {
    return http.get('/system/wxLogin', {params})
}
 
// 微信小程序登录
export function wxProgramLogin(params) {
    return http.get('/system/wxProgramLogin', {params})
}
 
// 微信退出登录
export function wxLoginOut(data) {
    return http.post('/system/wxLoginOut', data)
}
 
// 查询当前用户所有主组织下的工序
export function getWorkingProcedure(data) {
    return http.post('/ext/proceduresExt/productesGroup', data)
}
 
// 查询当前用户所有主组织下的工序
export function getOrganization(data) {
    return http.post('/ext/departmentExt/getDepartmentListByConditon', data)
}