From 7a37c679eee39774e070dceb1b767552e458339c Mon Sep 17 00:00:00 2001 From: Enzo <1284707383@qq.com> Date: Wed, 29 Sep 2021 20:32:54 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=80=E7=B3=BB=E5=88=97=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/index/activity/detail.vue | 5 ++++- pages/index/activity/hot.vue | 5 ++++- pages/order/index/onlineorder.vue | 17 ++++++++++++++++- pages/order/newdetail/newdetail.vue | 11 ++++++++++- 4 files changed, 34 insertions(+), 4 deletions(-) diff --git a/pages/index/activity/detail.vue b/pages/index/activity/detail.vue index 7670590..a073beb 100644 --- a/pages/index/activity/detail.vue +++ b/pages/index/activity/detail.vue @@ -71,7 +71,10 @@ api: 'api/activity/detail', data: { activity_id: this.activity_id - } + }, + header: { + Authorization: this.$cookieStorage.get('user_token') + }, }) .then(res => { if (res.data.code == 200) { diff --git a/pages/index/activity/hot.vue b/pages/index/activity/hot.vue index 7abdfc0..28cb287 100644 --- a/pages/index/activity/hot.vue +++ b/pages/index/activity/hot.vue @@ -114,7 +114,10 @@ api: 'api/activity', data:{ is_expired: this.tab_current+1 - } + }, + header: { + Authorization: this.$cookieStorage.get('user_token') + }, }) .then(res => { let tab_item = this.tab_list[this.tab_current]; diff --git a/pages/order/index/onlineorder.vue b/pages/order/index/onlineorder.vue index 483f9e2..888de67 100644 --- a/pages/order/index/onlineorder.vue +++ b/pages/order/index/onlineorder.vue @@ -18,9 +18,10 @@ - + 订单编号{{item2.order_no}} + 自提 @@ -341,6 +342,20 @@