minipro_standard/util/api/index.js
@@ -1,4 +1,3 @@ console.log('-----------'); const http = uni.$u.http // 登录 export function coustomLogin(params) { @@ -18,7 +17,6 @@ // 菜单数据 export function getTreeList(params) { return http.get('/system/menu/treeNodes', {params}) } // 退出登录 @@ -26,3 +24,12 @@ 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}) }