From 1e3c14c2a2be1a4c6a3e044a03743be2b8c7efbe Mon Sep 17 00:00:00 2001 From: h30830569 <30830569@qq.com> Date: Tue, 10 May 2022 17:35:10 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=9F=A5=E8=AF=A2=E5=95=86?= =?UTF-8?q?=E5=93=81=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pageB/select_product/index.vue | 2 +- vue.config.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pageB/select_product/index.vue b/src/pageB/select_product/index.vue index 98af9af..c1ecbe3 100644 --- a/src/pageB/select_product/index.vue +++ b/src/pageB/select_product/index.vue @@ -103,7 +103,7 @@ }, methods: { async searchGoods() { - const resDate = await this.$api.get(`/v1/product/products`, { + const resDate = await this.$api.get(`/v1/store/${this.id}/products`, { params: { keyword: this.keyword } diff --git a/vue.config.js b/vue.config.js index eb37ffe..33bb753 100644 --- a/vue.config.js +++ b/vue.config.js @@ -3,7 +3,7 @@ module.exports = { devServer: { proxy: { '/api': { - target: 'http://test.zichunsheng.cn/api', + target: 'https://jiqu.zichunsheng.cn/api', changeOrigin: true, pathRewrite: { '^/api': ''