暂降治理评估
This commit is contained in:
40
src/api/advance-boot/sgGroven/incomingLine.ts
Normal file
40
src/api/advance-boot/sgGroven/incomingLine.ts
Normal file
@@ -0,0 +1,40 @@
|
||||
import createAxios from '@/utils/request'
|
||||
|
||||
const ADVANCE_BOOT = '/advance-boot'
|
||||
|
||||
/**
|
||||
* 新增业务用户
|
||||
*/
|
||||
export const addSgIncomingLine = (data: any) => {
|
||||
return createAxios({
|
||||
url: ADVANCE_BOOT + '/sgIncomingLine/add',
|
||||
method: 'POST',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 更新业务用户
|
||||
*/
|
||||
export const updateSgIncomingLine = (data: any) => {
|
||||
return createAxios({
|
||||
url: ADVANCE_BOOT + '/sgIncomingLine/update',
|
||||
method: 'POST',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 删除业务用户
|
||||
*/
|
||||
export const deleteSgIncomingLine = (data: any) => {
|
||||
let ids = [data]
|
||||
return createAxios({
|
||||
url: ADVANCE_BOOT + '/sgIncomingLine/delete',
|
||||
method: 'POST',
|
||||
data: ids
|
||||
})
|
||||
}
|
||||
|
||||
40
src/api/advance-boot/sgGroven/sgUser.ts
Normal file
40
src/api/advance-boot/sgGroven/sgUser.ts
Normal file
@@ -0,0 +1,40 @@
|
||||
import createAxios from '@/utils/request'
|
||||
|
||||
const ADVANCE_BOOT = '/advance-boot'
|
||||
|
||||
/**
|
||||
* 新增业务用户
|
||||
*/
|
||||
export const addSgUser = (data: any) => {
|
||||
return createAxios({
|
||||
url: ADVANCE_BOOT + '/sgUser/add',
|
||||
method: 'POST',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 更新业务用户
|
||||
*/
|
||||
export const updateSgUser = (data: any) => {
|
||||
return createAxios({
|
||||
url: ADVANCE_BOOT + '/sgUser/update',
|
||||
method: 'POST',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 删除业务用户
|
||||
*/
|
||||
export const deleteSgUser = (data: any) => {
|
||||
let ids = [data]
|
||||
return createAxios({
|
||||
url: ADVANCE_BOOT + '/sgUser/delete',
|
||||
method: 'POST',
|
||||
data: ids
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user