mirror of
https://github.com/continew-org/continew-admin.git
synced 2025-10-28 16:57:11 +08:00
重构:初步封装后端 CRUD 公共组件(BaseController、BaseService、BaseServiceImpl)
This commit is contained in:
@@ -19,7 +19,7 @@ export interface DeptParams {
|
||||
}
|
||||
|
||||
export function getDeptList(params: DeptParams) {
|
||||
return axios.get<DeptRecord[]>('/system/dept', {
|
||||
return axios.get<DeptRecord[]>('/system/dept/all', {
|
||||
params,
|
||||
paramsSerializer: (obj) => {
|
||||
return qs.stringify(obj);
|
||||
|
||||
Reference in New Issue
Block a user