初始项目
This commit is contained in:
38
mallplusui-web-admin/src/api/oms/omsCompanyAddress.js
Normal file
38
mallplusui-web-admin/src/api/oms/omsCompanyAddress.js
Normal file
@@ -0,0 +1,38 @@
|
||||
import request from '@/utils/request'
|
||||
export function fetchList(params) {
|
||||
return request({
|
||||
url: '/oms/omsCompanyAddress/list',
|
||||
method: 'get',
|
||||
params: params
|
||||
})
|
||||
}
|
||||
export function createOmsCompanyAddress(data) {
|
||||
return request({
|
||||
url: '/oms/omsCompanyAddress/create',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
export function deleteOmsCompanyAddress(id) {
|
||||
return request({
|
||||
url: '/oms/omsCompanyAddress/delete/' + id,
|
||||
method: 'get',
|
||||
})
|
||||
}
|
||||
|
||||
export function getOmsCompanyAddress(id) {
|
||||
return request({
|
||||
url: '/oms/omsCompanyAddress/' + id,
|
||||
method: 'get',
|
||||
})
|
||||
}
|
||||
|
||||
export function updateOmsCompanyAddress(id, data) {
|
||||
return request({
|
||||
url: '/oms/omsCompanyAddress/update/' + id,
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
38
mallplusui-web-admin/src/api/oms/omsPayments.js
Normal file
38
mallplusui-web-admin/src/api/oms/omsPayments.js
Normal file
@@ -0,0 +1,38 @@
|
||||
import request from '@/utils/request'
|
||||
export function fetchList(params) {
|
||||
return request({
|
||||
url: '/oms/omsPayments/list',
|
||||
method: 'get',
|
||||
params: params
|
||||
})
|
||||
}
|
||||
export function createOmsPayments(data) {
|
||||
return request({
|
||||
url: '/oms/omsPayments/create',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
export function deleteOmsPayments(id) {
|
||||
return request({
|
||||
url: '/oms/omsPayments/delete/' + id,
|
||||
method: 'get',
|
||||
})
|
||||
}
|
||||
|
||||
export function getOmsPayments(id) {
|
||||
return request({
|
||||
url: '/oms/omsPayments/' + id,
|
||||
method: 'get',
|
||||
})
|
||||
}
|
||||
|
||||
export function updateOmsPayments(id, data) {
|
||||
return request({
|
||||
url: '/oms/omsPayments/update/' + id,
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user