mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 19:15:35 +08:00
新增 后管第三方平台配置页面
This commit is contained in:
44
jsowell-ui/src/api/thirdParty/thirdPartyConfig.js
vendored
Normal file
44
jsowell-ui/src/api/thirdParty/thirdPartyConfig.js
vendored
Normal file
@@ -0,0 +1,44 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 查询对接平台配置信息列表
|
||||
export function listThirdPartyConfig(query) {
|
||||
return request({
|
||||
url: '/thirdParty/thirdPartyConfig/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询对接平台配置信息详细
|
||||
export function getThirdPartyConfig(id) {
|
||||
return request({
|
||||
url: '/thirdParty/thirdPartyConfig/' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 新增对接平台配置信息
|
||||
export function addThirdPartyConfig(data) {
|
||||
return request({
|
||||
url: '/thirdParty/thirdPartyConfig',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改对接平台配置信息
|
||||
export function updateThirdPartyConfig(data) {
|
||||
return request({
|
||||
url: '/thirdParty/thirdPartyConfig',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除对接平台配置信息
|
||||
export function delThirdPartyConfig(id) {
|
||||
return request({
|
||||
url: '/thirdParty/thirdPartyConfig/' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user