From 4ff8eb6494b2ba4583b0b1695f0c4a3c4aa1dbb1 Mon Sep 17 00:00:00 2001 From: paulGao Date: Wed, 29 Dec 2021 19:50:24 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E6=8B=BC=E5=9B=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/promotion/pintuan/pintuan-goods.vue | 10 +++++----- seller/src/views/promotion/pintuan/pintuan.vue | 16 ++++++++++------ 2 files changed, 15 insertions(+), 11 deletions(-) diff --git a/seller/src/views/promotion/pintuan/pintuan-goods.vue b/seller/src/views/promotion/pintuan/pintuan-goods.vue index 58ce2fc9..8d53bee3 100644 --- a/seller/src/views/promotion/pintuan/pintuan-goods.vue +++ b/seller/src/views/promotion/pintuan/pintuan-goods.vue @@ -47,7 +47,7 @@ 编辑  + >   + >   + >   + > From d2a0940858607bfaa9e4e6218652261f2a542f3e Mon Sep 17 00:00:00 2001 From: zhanglei829 Date: Thu, 30 Dec 2021 10:13:34 +0800 Subject: [PATCH 2/3] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=99=BB=E5=87=BA?= =?UTF-8?q?=E8=B4=A6=E5=8F=B7=E3=80=81=E4=BF=AE=E6=94=B9=E5=AF=86=E7=A0=81?= =?UTF-8?q?=E7=AD=89=E6=93=8D=E4=BD=9C=E4=BC=9A=E6=B8=85=E9=99=A4uuidbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- manager/src/App.vue | 9 +-------- manager/src/libs/axios.js | 7 ++++++- 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/manager/src/App.vue b/manager/src/App.vue index 7086249c..8181bd5c 100644 --- a/manager/src/App.vue +++ b/manager/src/App.vue @@ -5,7 +5,6 @@ diff --git a/manager/src/libs/axios.js b/manager/src/libs/axios.js index 9a97047d..d1f5da3c 100644 --- a/manager/src/libs/axios.js +++ b/manager/src/libs/axios.js @@ -4,6 +4,7 @@ import { router } from "../router/index"; import { Message } from "view-design"; import Cookies from "js-cookie"; import { handleRefreshToken } from "../api/index"; +import {v4 as uuidv4} from 'uuid'; // 统一请求路径前缀 export const commonUrl = @@ -29,7 +30,11 @@ service.interceptors.request.use( ...config.params }; } - const uuid = getStore("uuid"); + let uuid = getStore("uuid"); + if (!uuid) { + uuid = uuidv4(); + setStore('uuid', uuid); + } config.headers["uuid"] = uuid; return config; }, From 2e5eefc079778678ce7ffb8dce4472af434667b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?lemon=E6=A9=AA?= <17633066053@163.com> Date: Thu, 30 Dec 2021 11:16:08 +0800 Subject: [PATCH 3/3] =?UTF-8?q?=E6=8F=90=E4=BA=A4=20buyer=E5=92=8Cseller?= =?UTF-8?q?=E9=80=80=E5=87=BAuuid=E6=B8=85=E7=A9=BAbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- buyer/src/App.vue | 11 ++--------- buyer/src/plugins/request.js | 8 +++++++- seller/src/App.vue | 9 +-------- seller/src/libs/axios.js | 8 +++++++- 4 files changed, 17 insertions(+), 19 deletions(-) diff --git a/buyer/src/App.vue b/buyer/src/App.vue index ff215123..f8f2ece7 100644 --- a/buyer/src/App.vue +++ b/buyer/src/App.vue @@ -5,17 +5,10 @@