Merge branch 'developer' of ssh://code.cyweb.top:30033/scj/zhxy/v3/cloud-ui into developer
This commit is contained in:
@@ -30,7 +30,7 @@ export const list = (query?: any) => {
|
||||
*/
|
||||
export const addObj = (obj: any) => {
|
||||
return request({
|
||||
url: '/recruit/recruitstudentplangroup',
|
||||
url: '/recruit/recruitstudentplangroup/add',
|
||||
method: 'post',
|
||||
data: obj,
|
||||
});
|
||||
@@ -42,8 +42,9 @@ export const addObj = (obj: any) => {
|
||||
*/
|
||||
export const getObj = (id: string | number) => {
|
||||
return request({
|
||||
url: `/recruit/recruitstudentplangroup/${id}`,
|
||||
url: `/recruit/recruitstudentplangroup/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/recruitstudentplangroup/${id}`,
|
||||
method: 'delete',
|
||||
url: `/recruit/recruitstudentplangroup/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/recruitstudentplangroup',
|
||||
method: 'put',
|
||||
url: '/recruit/recruitstudentplangroup/edit',
|
||||
method: 'post',
|
||||
data: obj,
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user