From 430399c54f5978ac6605663f6b2cf96c09f6271e Mon Sep 17 00:00:00 2001 From: ch Date: Thu, 30 Jun 2022 11:50:26 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E4=BF=AE=E6=94=B9=E6=A0=87=E7=AD=BE?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=E7=BB=9F=E8=AE=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/api/comment.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/plugins/api/comment.js b/plugins/api/comment.js index 0c161ce..52e81e4 100644 --- a/plugins/api/comment.js +++ b/plugins/api/comment.js @@ -2,7 +2,7 @@ * @Author: ch * @Date: 2022-06-20 11:38:48 * @LastEditors: ch - * @LastEditTime: 2022-06-29 17:45:28 + * @LastEditTime: 2022-06-30 11:48:53 * @Description: file content */ @@ -40,7 +40,11 @@ export const ApiGetCommentCount = ({productId}) => * @param {*} param0 */ export const ApiGetCommentTabCount = ({productId}) => - ToAsyncAwait(axios.get(`${BASE_URL}/app/comment/listCommentLabel/${productId}`)); + ToAsyncAwait(axiosTk.get(`${BASE_URL}/app/comment/listCommentLabel/${productId}`,{ + headers: { + notVerifyToken : true + } + })); /** * 获取订单评论详情 * @param {*} param0