mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-30 16:10:03 +08:00
update 对接lianlian平台
This commit is contained in:
44
jsowell-ui/src/api/thirdParty/secret.js
vendored
Normal file
44
jsowell-ui/src/api/thirdParty/secret.js
vendored
Normal file
@@ -0,0 +1,44 @@
|
||||
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'
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user