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}) 
 | 
} 
 |