yshop意向点餐系统v1.2.2

This commit is contained in:
hupeng committed 2023-12-17 10:19:51 +08:00
1 parent d03982bf66
commit fc575265c3
4685 files changed
+518513 -182051

No files matched your search

+22
View File
@@ -0,0 +1,22 @@
import api from './api'
// 删除用户地址
export function addressDelete(data) {
return api.post(`/address/del/${data.id}`, undefined, { login: true })
}
// 设置默认地址
export function shopGetDistanceFromLocation(data) {
return api.post(`/address/getDistanceFromLocation`, data, { login: true })
}
// 添加或修改地址
export function getAddressAddAndEdit(data) {
return api.post(`/address/addAndEdit`, data, { login: true })
}
// 用户地址列表 l
export function addressAll(data) {
return api.get(`/address/list`, data, { login: true })
}