This commit is contained in:
@@ -10,7 +10,7 @@ import { requestClient } from '#/api/request';
|
||||
* @returns 班次表列表
|
||||
*/
|
||||
export function shiftList(params?: ShiftQuery) {
|
||||
return requestClient.get<PageResult<ShiftVO>>('/Property/shift/list', { params });
|
||||
return requestClient.get<PageResult<ShiftVO>>('/property/shift/list', { params });
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -19,7 +19,7 @@ export function shiftList(params?: ShiftQuery) {
|
||||
* @returns 班次表列表
|
||||
*/
|
||||
export function shiftExport(params?: ShiftQuery) {
|
||||
return commonExport('/Property/shift/export', params ?? {});
|
||||
return commonExport('/property/shift/export', params ?? {});
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -28,7 +28,7 @@ export function shiftExport(params?: ShiftQuery) {
|
||||
* @returns 班次表详情
|
||||
*/
|
||||
export function shiftInfo(id: ID) {
|
||||
return requestClient.get<ShiftVO>(`/Property/shift/${id}`);
|
||||
return requestClient.get<ShiftVO>(`/property/shift/${id}`);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -37,7 +37,7 @@ export function shiftInfo(id: ID) {
|
||||
* @returns void
|
||||
*/
|
||||
export function shiftAdd(data: ShiftForm) {
|
||||
return requestClient.postWithMsg<void>('/Property/shift', data);
|
||||
return requestClient.postWithMsg<void>('/property/shift', data);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -46,7 +46,7 @@ export function shiftAdd(data: ShiftForm) {
|
||||
* @returns void
|
||||
*/
|
||||
export function shiftUpdate(data: ShiftForm) {
|
||||
return requestClient.putWithMsg<void>('/Property/shift', data);
|
||||
return requestClient.putWithMsg<void>('/property/shift', data);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -55,5 +55,5 @@ export function shiftUpdate(data: ShiftForm) {
|
||||
* @returns void
|
||||
*/
|
||||
export function shiftRemove(id: ID | IDS) {
|
||||
return requestClient.deleteWithMsg<void>(`/Property/shift/${id}`);
|
||||
return requestClient.deleteWithMsg<void>(`/property/shift/${id}`);
|
||||
}
|
||||
|
Reference in New Issue
Block a user