From 224e1dc7dcac8f68e9edc69b11da281d7033fb85 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=97=AB=E6=99=93=E8=8C=B9?= <1935832701@qq.com> Date: Mon, 16 Oct 2023 14:48:02 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0token?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/pagesB/coupon/index.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/api/pagesB/coupon/index.js b/api/pagesB/coupon/index.js index 7d62a90..ddf5d47 100644 --- a/api/pagesB/coupon/index.js +++ b/api/pagesB/coupon/index.js @@ -5,5 +5,8 @@ export function selectCoupon(pageNum, pageSize, patientId, couponstatus) { return request({ url: `/nurseApplet/patientInfo/selectCoupon?pageNum=${pageNum}&pageSize=${pageSize}&patientId=${patientId}&useStatus=${couponstatus}`, method: 'get', + header: { + Authorization: 'Bearer' + ' ' + uni.getStorageSync('token') + }, }) }