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