From 4169e76f5390cbcf11708305de3f6976a311190c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E6=AF=85?= <1335909236@qq.com> Date: Wed, 8 Oct 2025 17:30:45 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=85=8D=E9=80=81=E5=9C=B0?= =?UTF-8?q?=E5=9D=80=E5=88=A0=E9=99=A4=E4=B8=8D=E4=BA=86=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/shop.js | 1 + packages/shop/address/index.vue | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/api/shop.js b/api/shop.js index 6e786f30..934860e3 100644 --- a/api/shop.js +++ b/api/shop.js @@ -12,6 +12,7 @@ export const apiArr = { payOrder: "/api/v2/wechat/commodity/order/pay",//支付订单 settingDefaultAddress: '/api/v2/wechat/commodity/receiving_address/default', // 收货地址设置默认 updateAddress: '/api/v2/wechat/commodity/receiving_address/update', // 收货地址修改 + deleteAddress: '/api/v2/wechat/commodity/receiving_address/delete', // 收货地址删除 addAddress: '/api/v2/wechat/commodity/receiving_address/add', // 收货地址添加 addAddressList: '/api/v2/wechat/commodity/receiving_address', // 收货地址列表 queryOrder: '/api/v2/wechat/commodity/order/trade_query', // 查询订单 diff --git a/packages/shop/address/index.vue b/packages/shop/address/index.vue index a9accaca..6fd9c1e3 100644 --- a/packages/shop/address/index.vue +++ b/packages/shop/address/index.vue @@ -89,7 +89,7 @@ export default { success: async function (res) { if (res.confirm) { console.log('用户点击确定'); - const res = await request(apiArr.addressDel, 'POST', { id }); + const res = await request(apiArr.deleteAddress, 'POST', { id }); uni.showToast({ title: '删除成功', icon: 'success',