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) 
 | 
} 
 | 
  
 | 
// 获取上传字典值 
 | 
export function queryListByCode(params) { 
 | 
    return http.get('/system/dictData/queryListByCode', {params}) 
 | 
} 
 |