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/thirdPartySetting.js
vendored
Normal file
44
jsowell-ui/src/api/thirdParty/thirdPartySetting.js
vendored
Normal file
@@ -0,0 +1,44 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 查询第三方平台配置列表
|
||||
export function listThirdPartySetting(query) {
|
||||
return request({
|
||||
url: '/thirdParty/thirdPartySetting/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询第三方平台配置详细
|
||||
export function getThirdPartySetting(id) {
|
||||
return request({
|
||||
url: '/thirdParty/thirdPartySetting/' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 新增第三方平台配置
|
||||
export function addThirdPartySetting(data) {
|
||||
return request({
|
||||
url: '/thirdParty/thirdPartySetting',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改第三方平台配置
|
||||
export function updateThirdPartySetting(data) {
|
||||
return request({
|
||||
url: '/thirdParty/thirdPartySetting',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除第三方平台配置
|
||||
export function delThirdPartySetting(id) {
|
||||
return request({
|
||||
url: '/thirdParty/thirdPartySetting/' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user