1
This commit is contained in:
@@ -30,7 +30,7 @@ export const list = (query?: any) => {
|
||||
*/
|
||||
export const addObj = (obj: any) => {
|
||||
return request({
|
||||
url: '/recruit/recruitstudentplancorrectscoreconfig',
|
||||
url: '/recruit/recruitstudentplancorrectscoreconfig/add',
|
||||
method: 'post',
|
||||
data: obj,
|
||||
});
|
||||
@@ -42,8 +42,9 @@ export const addObj = (obj: any) => {
|
||||
*/
|
||||
export const getObj = (id: string | number) => {
|
||||
return request({
|
||||
url: `/recruit/recruitstudentplancorrectscoreconfig/${id}`,
|
||||
url: `/recruit/recruitstudentplancorrectscoreconfig/getById`,
|
||||
method: 'get',
|
||||
params:{id:id}
|
||||
});
|
||||
};
|
||||
|
||||
@@ -53,8 +54,9 @@ export const getObj = (id: string | number) => {
|
||||
*/
|
||||
export const delObj = (id: string | number) => {
|
||||
return request({
|
||||
url: `/recruit/recruitstudentplancorrectscoreconfig/${id}`,
|
||||
method: 'delete',
|
||||
url: `/recruit/recruitstudentplancorrectscoreconfig/deleteById`,
|
||||
method: 'post',
|
||||
data:{id:id}
|
||||
});
|
||||
};
|
||||
|
||||
@@ -64,8 +66,8 @@ export const delObj = (id: string | number) => {
|
||||
*/
|
||||
export const putObj = (obj: any) => {
|
||||
return request({
|
||||
url: '/recruit/recruitstudentplancorrectscoreconfig',
|
||||
method: 'put',
|
||||
url: '/recruit/recruitstudentplancorrectscoreconfig/edit',
|
||||
method: 'post',
|
||||
data: obj,
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user