mirror of
https://github.com/bufanyun/hotgo.git
synced 2025-08-29 03:01:25 +08:00
v2.0
This commit is contained in:
33
web/src/api/org/dept.ts
Normal file
33
web/src/api/org/dept.ts
Normal file
@@ -0,0 +1,33 @@
|
||||
import { http } from '@/utils/http/axios';
|
||||
|
||||
export function getDeptList(params?) {
|
||||
return http.request({
|
||||
url: '/dept/list',
|
||||
method: 'GET',
|
||||
params,
|
||||
});
|
||||
}
|
||||
|
||||
export function Edit(params) {
|
||||
return http.request({
|
||||
url: '/dept/edit',
|
||||
method: 'POST',
|
||||
params,
|
||||
});
|
||||
}
|
||||
|
||||
export function Status(params) {
|
||||
return http.request({
|
||||
url: '/dept/status',
|
||||
method: 'POST',
|
||||
params,
|
||||
});
|
||||
}
|
||||
|
||||
export function Delete(params) {
|
||||
return http.request({
|
||||
url: '/dept/delete',
|
||||
method: 'POST',
|
||||
params,
|
||||
});
|
||||
}
|
Reference in New Issue
Block a user