From 22139d9a2d3c5d332ba817d356634948225997c0 Mon Sep 17 00:00:00 2001 From: YunaiV Date: Sat, 20 Jan 2024 17:28:04 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20=E5=85=A8=E5=B1=80=EF=BC=9A?= =?UTF-8?q?=E4=BC=98=E5=8C=96=E8=AF=B7=E6=B1=82=E7=9A=84=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/chat/socket.js | 2 +- pages/index/page.vue | 4 +- sheep/api/member/address.js | 12 ++++- sheep/api/member/user.js | 3 +- sheep/api/product/comment.js | 6 ++- sheep/api/product/favorite.js | 28 ++++++++---- sheep/api/product/history.js | 57 ++++++++++++++---------- sheep/api/product/spu.js | 68 +++++++++++++++-------------- sheep/api/promotion/coupon.js | 15 +++++++ sheep/api/promotion/diy.js | 38 ++++++++++++++++ sheep/api/promotion/diy/page.js | 15 ------- sheep/api/promotion/diy/template.js | 21 --------- sheep/api/trade/cart.js | 4 ++ sheep/api/trade/order.js | 3 ++ sheep/store/app.js | 6 +-- 15 files changed, 172 insertions(+), 110 deletions(-) create mode 100644 sheep/api/promotion/diy.js delete mode 100644 sheep/api/promotion/diy/page.js delete mode 100644 sheep/api/promotion/diy/template.js diff --git a/pages/chat/socket.js b/pages/chat/socket.js index 840931cf..91139747 100644 --- a/pages/chat/socket.js +++ b/pages/chat/socket.js @@ -1,6 +1,6 @@ import { reactive, ref, unref } from 'vue'; import sheep from '@/sheep'; -import chat from '@/sheep/api/chat'; +// import chat from '@/sheep/api/chat'; import dayjs from 'dayjs'; import io from '@hyoga/uni-socket.io'; diff --git a/pages/index/page.vue b/pages/index/page.vue index 71b2498c..b5d8ef32 100644 --- a/pages/index/page.vue +++ b/pages/index/page.vue @@ -17,7 +17,7 @@