mirror of
https://github.com/jeecgboot/JeecgBoot.git
synced 2025-12-08 17:12:28 +08:00
前端和后端源码,合并到一个git仓库中,方便用户下载,避免前后端不匹配的问题
This commit is contained in:
19
jeecgboot-vue3/src/views/system/address/address.api.ts
Normal file
19
jeecgboot-vue3/src/views/system/address/address.api.ts
Normal file
@ -0,0 +1,19 @@
|
||||
import { defHttp } from '/@/utils/http/axios';
|
||||
|
||||
export enum Api {
|
||||
list = '/sys/user/queryByOrgCodeForAddressList',
|
||||
positionList = '/sys/position/list',
|
||||
queryDepartTreeSync = '/sys/sysDepart/queryDepartTreeSync',
|
||||
}
|
||||
/**
|
||||
* 获取部门树列表
|
||||
*/
|
||||
export const queryDepartTreeSync = (params?) => defHttp.get({ url: Api.queryDepartTreeSync, params });
|
||||
/**
|
||||
* 部门用户信息
|
||||
*/
|
||||
export const list = (params?) => defHttp.get({ url: Api.list, params });
|
||||
/**
|
||||
* 职务list
|
||||
*/
|
||||
export const positionList = (params?) => defHttp.get({ url: Api.positionList, params });
|
||||
Reference in New Issue
Block a user