From 9a7422b107ac1ed1ad8710bc695eab97c0f1b89c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?lemon=E6=A9=AA?= <17633066053@163.com> Date: Mon, 17 May 2021 18:18:24 +0800 Subject: [PATCH 01/15] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=AE=A1=E7=90=86?= =?UTF-8?q?=E7=AB=AF=E4=B8=8A=E4=BC=A0=E5=9C=B0=E5=9D=80=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- manager/src/api/index.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/manager/src/api/index.js b/manager/src/api/index.js index 658ad6cd..507aaf04 100644 --- a/manager/src/api/index.js +++ b/manager/src/api/index.js @@ -8,13 +8,14 @@ import { getRequestWithNoToken, putRequestWithNoForm, postRequestWithNoForm, - commonUrl, managerUrl } from "@/libs/axios"; import config from "@/config"; +let commonUrl = (process.env.NODE_ENV === 'development' ? config.api_dev.common : config.api_prod.common) + // 文件上传接口 -export const uploadFile = commonUrl + "/common/upload/file"; +export const uploadFile = commonUrl+ "/common/upload/file"; // 验证码渲染图片接口 export const drawCodeImage = commonUrl + "/common/captcha/draw/"; // 获取菜单 From 239ce64e9c1969827d6555dcf88c2909f43028ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?lemon=E6=A9=AA?= <17633066053@163.com> Date: Tue, 18 May 2021 09:28:16 +0800 Subject: [PATCH 02/15] =?UTF-8?q?=E7=9F=AD=E4=BF=A1=E7=AD=BE=E5=90=8D?= =?UTF-8?q?=E5=9B=BE=E7=89=87=E4=B8=8A=E4=BC=A0=E6=A0=B7=E5=BC=8F=E4=BC=98?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/my-components/lili/upload-pic-thumb.vue | 2 +- manager/src/views/sys/message/smsSign.vue | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/manager/src/views/my-components/lili/upload-pic-thumb.vue b/manager/src/views/my-components/lili/upload-pic-thumb.vue index 14fee113..d9583ca6 100644 --- a/manager/src/views/my-components/lili/upload-pic-thumb.vue +++ b/manager/src/views/my-components/lili/upload-pic-thumb.vue @@ -9,7 +9,7 @@ @end="onEnd" >
-
+
diff --git a/manager/src/views/sys/message/smsSign.vue b/manager/src/views/sys/message/smsSign.vue index b7228d9f..d38c75bd 100644 --- a/manager/src/views/sys/message/smsSign.vue +++ b/manager/src/views/sys/message/smsSign.vue @@ -162,8 +162,12 @@ }; - - From 3efefc4c02cb225886d27c231a86d40dd1b87455 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?lemon=E6=A9=AA?= <17633066053@163.com> Date: Tue, 18 May 2021 18:02:25 +0800 Subject: [PATCH 03/15] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E5=8F=91=E9=80=81?= =?UTF-8?q?=E7=9F=AD=E4=BF=A1=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- manager/src/config/index.js | 8 ++++---- manager/src/views/sys/message/sms.vue | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/manager/src/config/index.js b/manager/src/config/index.js index 95414e80..6b74f240 100644 --- a/manager/src/config/index.js +++ b/manager/src/config/index.js @@ -17,10 +17,10 @@ export default { * @description api请求基础路径 */ api_dev: { - common: 'http://127.0.0.1:8890', - buyer: 'http://127.0.0.1:8888', - seller: 'http://127.0.0.1:8889', - manager: 'http://127.0.0.1:8887' + common: 'http://192.168.0.103:8890', + buyer: 'https://buyer-api.pickmall.cn', + seller: 'https://store-api.pickmall.cn', + manager: 'http://192.168.0.103:8887' }, api_prod: { common: 'https://common-api.pickmall.cn', diff --git a/manager/src/views/sys/message/sms.vue b/manager/src/views/sys/message/sms.vue index a70028b8..71f09635 100644 --- a/manager/src/views/sys/message/sms.vue +++ b/manager/src/views/sys/message/sms.vue @@ -710,7 +710,7 @@ export default { //发送短信 sendSms() { this.$refs.smsForm.validate((valid) => { - const mobile = JSON.stringify(this.alreadyCheck); + const mobile = this.alreadyCheck; this.smsForm.mobile = mobile; if (valid) { API_Setting.sendSms(this.smsForm).then((res) => { From 8971996731ead7f1bf0a7a592b1ed384f85d36b6 Mon Sep 17 00:00:00 2001 From: pikachu <1321288662@qq.com> Date: Wed, 19 May 2021 19:28:44 +0800 Subject: [PATCH 04/15] chushihua --- seller/src/config/index.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/seller/src/config/index.js b/seller/src/config/index.js index a4549075..c0bcb7f8 100644 --- a/seller/src/config/index.js +++ b/seller/src/config/index.js @@ -18,14 +18,14 @@ export default { * @description api请求基础路径 */ api_dev: { - common: 'https://common-api.pickmall.cn', + //common: 'https://common-api.pickmall.cn', buyer: 'https://buyer-api.pickmall.cn', - seller: 'https://store-api.pickmall.cn', - manager: 'https://admin-api.pickmall.cn' - // common: 'http://192.168.0.100:8890', + //seller: 'https://store-api.pickmall.cn', + //manager: 'https://admin-api.pickmall.cn' + common: 'http://192.168.0.103:8890', // buyer: 'http://192.168.0.100:8888', - // seller: 'http://192.168.0.100:8889', - // manager: 'http://192.168.0.100:8887' + seller: 'http://192.168.0.103:8889', + manager: 'http://192.168.0.103:8887' }, api_prod: { common: 'https://common-api.pickmall.cn', From 697e4820a45ab61c8359ecafe1474f6ed4c9cc3c Mon Sep 17 00:00:00 2001 From: pikachu <1321288662@qq.com> Date: Thu, 20 May 2021 08:29:32 +0800 Subject: [PATCH 05/15] =?UTF-8?q?=E5=8E=BB=E6=8E=89=E5=95=86=E5=93=81?= =?UTF-8?q?=E5=8F=82=E6=95=B0=E7=9A=84=E4=B8=80=E4=BA=9B=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../goods/goods-seller/goodsOperation.vue | 22 ++++--------------- 1 file changed, 4 insertions(+), 18 deletions(-) diff --git a/seller/src/views/goods/goods-seller/goodsOperation.vue b/seller/src/views/goods/goods-seller/goodsOperation.vue index abd43569..f197a113 100644 --- a/seller/src/views/goods/goods-seller/goodsOperation.vue +++ b/seller/src/views/goods/goods-seller/goodsOperation.vue @@ -592,25 +592,15 @@ :key="index" :label="`${goodsParamsList.paramName}:`" > -
-