2023-11-23
This commit is contained in:
41
src/api/pickupPoint/pickupPoint.js
Normal file
41
src/api/pickupPoint/pickupPoint.js
Normal file
@@ -0,0 +1,41 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
export default {
|
||||
|
||||
// 获取提货点列表
|
||||
storeListPage: function(data) {
|
||||
return request({
|
||||
url: '/lpkstore/storeListPage',
|
||||
method: 'post',
|
||||
data: data
|
||||
});
|
||||
},
|
||||
|
||||
// 新增、保存提货点
|
||||
saveStore: function(data) {
|
||||
return request({
|
||||
url: '/lpkstore/saveStore',
|
||||
method: 'post',
|
||||
data: data
|
||||
});
|
||||
},
|
||||
|
||||
// 初始化提货点
|
||||
storeInit: function(data) {
|
||||
return request({
|
||||
url: '/lpkstore/storeInit/'+data,
|
||||
method: 'get'
|
||||
});
|
||||
},
|
||||
|
||||
// 删除提货点
|
||||
deleteStore: function(data) {
|
||||
return request({
|
||||
url: '/lpkstore/deleteStore/'+data,
|
||||
method: 'delete'
|
||||
});
|
||||
},
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user