diff --git a/src/api/ss/apiPrice.js b/src/api/ss/apiPrice.js new file mode 100644 index 0000000..e273bd7 --- /dev/null +++ b/src/api/ss/apiPrice.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询API收费标准列表 +export function listApiPrice(query) { + return request({ + url: '/ss/apiPrice/list', + method: 'get', + params: query + }) +} + +// 查询API收费标准详细 +export function getApiPrice(id) { + return request({ + url: '/ss/apiPrice/' + id, + method: 'get' + }) +} + +// 新增API收费标准 +export function addApiPrice(data) { + return request({ + url: '/ss/apiPrice', + method: 'post', + data: data + }) +} + +// 修改API收费标准 +export function updateApiPrice(data) { + return request({ + url: '/ss/apiPrice', + method: 'put', + data: data + }) +} + +// 删除API收费标准 +export function delApiPrice(id) { + return request({ + url: '/ss/apiPrice/' + id, + method: 'delete' + }) +} diff --git a/src/views/mch/index/components/MchAccount.vue b/src/views/mch/index/components/MchAccount.vue index 26db194..64437d2 100644 --- a/src/views/mch/index/components/MchAccount.vue +++ b/src/views/mch/index/components/MchAccount.vue @@ -1,5 +1,5 @@