You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
949 B
30 lines
949 B
import http from '../utils/http/index.js'
|
|
/**
|
|
* 查询收货地址
|
|
* swagger: http://api-ops-uec-test.qniao.cn/uec/swagger-ui/index.html?urls.primaryName=CustomerApi#/%E4%BC%81%E4%B8%9A%E6%9F%A5%E8%AF%A2%E6%8E%A5%E5%8F%A3/getEnterpriseShippingAddressListByEnterpriseIdUsingGET
|
|
*/
|
|
export const getAddress = (data = {}) => {
|
|
return http.get({
|
|
url: '/uec/get/enterprise-shipping-address-list/by-enterpriseId',
|
|
data
|
|
})
|
|
}
|
|
|
|
|
|
/**
|
|
* 保存收货地址
|
|
* swagger: http://api-ops-uec-test.qniao.cn/uec/swagger-ui/index.html?urls.primaryName=CustomerApi#/%E4%BC%81%E4%B8%9A/saveEnterpriseShippingAddressByEnterpriseIdUsingPOST
|
|
*/
|
|
export const createAddress = (data = {}) => {
|
|
return http.post({
|
|
url: '/uec/save/enterprise-shipping-address/by/enterprise-id',
|
|
data
|
|
})
|
|
}
|
|
// 删除收货地址
|
|
export const delAddress = (data = {}) => {
|
|
return http.post({
|
|
url: '/uec/delete/enterprise-shipping-address',
|
|
data
|
|
})
|
|
}
|