优化结构
This commit is contained in:
@@ -11,6 +11,12 @@ export const saveIntegrationConfig = (kind, provider, data) => service({
|
||||
data
|
||||
})
|
||||
|
||||
export const testIntegrationConfig = (kind, provider, data) => service({
|
||||
url: `/integration/configs/${encodeURIComponent(kind)}/${encodeURIComponent(provider)}/test`,
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
|
||||
export const deleteIntegrationConfig = (kind, provider) => service({
|
||||
url: `/integration/configs/${encodeURIComponent(kind)}/${encodeURIComponent(provider)}`,
|
||||
method: 'delete'
|
||||
|
||||
Reference in New Issue
Block a user