mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-05-03 01:20:15 +08:00
45 lines
915 B
JavaScript
45 lines
915 B
JavaScript
import request from '@/utils/request'
|
|
|
|
// 查询对接三方平台配置列表
|
|
export function listSecret(query) {
|
|
return request({
|
|
url: '/thirdparty/secret/list',
|
|
method: 'get',
|
|
params: query
|
|
})
|
|
}
|
|
|
|
// 查询对接三方平台配置详细
|
|
export function getSecret(id) {
|
|
return request({
|
|
url: '/thirdparty/secret/' + id,
|
|
method: 'get'
|
|
})
|
|
}
|
|
|
|
// 新增对接三方平台配置
|
|
export function addSecret(data) {
|
|
return request({
|
|
url: '/thirdparty/secret',
|
|
method: 'post',
|
|
data: data
|
|
})
|
|
}
|
|
|
|
// 修改对接三方平台配置
|
|
export function updateSecret(data) {
|
|
return request({
|
|
url: '/thirdparty/secret',
|
|
method: 'put',
|
|
data: data
|
|
})
|
|
}
|
|
|
|
// 删除对接三方平台配置
|
|
export function delSecret(id) {
|
|
return request({
|
|
url: '/thirdparty/secret/' + id,
|
|
method: 'delete'
|
|
})
|
|
}
|