bug
jiangping
2023-12-06 1f4e7d0f73a73e7350cf5a1df279d5f30904c5d5
minipro_standard/util/api/index.js
@@ -17,7 +17,6 @@
// 菜单数据
export function getTreeList(params) {
   return http.get('/system/menu/treeNodes', {params})
}
// 退出登录
@@ -25,3 +24,42 @@
   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})
}