feat : 新增岗位数据入库监测、岗位信息来源管理、岗位信息指标管理 三个列表页面
This commit is contained in:
24
src/services/recruitmentDataCollection/jobMonitor.ts
Normal file
24
src/services/recruitmentDataCollection/jobMonitor.ts
Normal file
@@ -0,0 +1,24 @@
|
||||
import { request } from '@umijs/max';
|
||||
|
||||
export async function getStorageDetectionList(params?: API.StorageDetection.ListParams) {
|
||||
return request<API.StorageDetection.StoragePageResult>(`/api/cms/storageDetection/getList`, {
|
||||
method: 'GET',
|
||||
params: params,
|
||||
});
|
||||
}
|
||||
|
||||
export async function getStorageDetectionSingle(detectionId: string) {
|
||||
return request<API.StorageDetection.StorageIdResult>(
|
||||
`/api/cms/storageDetection/getSingle/${detectionId}`,
|
||||
{
|
||||
method: 'GET',
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
export async function saveStorageDetection(params?: API.StorageDetection.AddParams) {
|
||||
return request(`/api/cms/storageDetection/save`, {
|
||||
method: 'POST',
|
||||
data: params,
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user