55 lines
1.1 KiB
JavaScript
55 lines
1.1 KiB
JavaScript
import request from '@/utils/request'
|
|
|
|
export function getLbThirdIntegrationConfigList(params) {
|
|
return request({
|
|
url: '/lbThirdIntegrationConfig/list',
|
|
method: 'get',
|
|
params
|
|
})
|
|
}
|
|
|
|
export function getLbThirdIntegrationConfigById(id) {
|
|
return request({
|
|
url: `/lbThirdIntegrationConfig/get/${id}`,
|
|
method: 'get'
|
|
})
|
|
}
|
|
|
|
export function addLbThirdIntegrationConfig(data) {
|
|
return request({
|
|
url: '/lbThirdIntegrationConfig/add',
|
|
method: 'post',
|
|
data
|
|
})
|
|
}
|
|
|
|
export function updateLbThirdIntegrationConfig(data) {
|
|
return request({
|
|
url: '/lbThirdIntegrationConfig/update',
|
|
method: 'put',
|
|
data
|
|
})
|
|
}
|
|
|
|
export function deleteLbThirdIntegrationConfig(id) {
|
|
return request({
|
|
url: `/lbThirdIntegrationConfig/delete/${id}`,
|
|
method: 'delete'
|
|
})
|
|
}
|
|
|
|
export function getLbThirdIntegrationCredential(tenantId) {
|
|
return request({
|
|
url: `/lbThirdIntegrationConfig/credential/${tenantId}`,
|
|
method: 'get'
|
|
})
|
|
}
|
|
|
|
export function updateLbThirdIntegrationCredential(tenantId, data) {
|
|
return request({
|
|
url: `/lbThirdIntegrationConfig/credential/${tenantId}`,
|
|
method: 'post',
|
|
data
|
|
})
|
|
}
|